Skip to content

Spelling error on .gitignore file. #4733

Closed

Description

@JX-Master

On .gitignore line 55, I see:

build*

This causes all files that begins with "build" being excluded from the git repository, including:

  • DirectXShaderCompiler/include/llvm/Transforms/Utils/BuildLibCalls.h
  • DirectXShaderCompiler/lib/Transforms/Utils/BuildLibCalls.cop
  • DirectXShaderCompiler/tools/clang/include/clang-c/BuildSystem.h
  • DirectXShaderCompiler/tools/clang/tools/libclang/BuildSystem.cpp
  • DirectXShaderCompiler/tools/clang/utils/ABITest/build-and-summarize-all.sh
  • DirectXShaderCompiler/tools/clang/utils/ABITest/build-and-summarize.sh
  • DirectXShaderCompiler/tools/clang/utils/ABITest/build.sh
  • DirectXShaderCompiler/tools/llvm-config/BuildVariables.inc.in
  • DirectXShaderCompiler/utils/buildit/GNUmakefile
  • DirectXShaderCompiler/utils/buildit/build_ivm
  • DirectXShaderCompiler/utils/crosstool/ARM/build-install-linux.sh

which causes CMake configuration failing (missing file "tools/llvm-config/BuildVariables.inc.in") if you clone the project and commit it as part of your own repository. I wonder if build* is a spelling error for build/*, which gives the correct behavior.

Activity

  1. llvm-beanz commented on Oct 24, 2022

    @llvm-beanz
    Collaborator

    The intent is to allow multiple build directories. We could change this to /build* which would accomplish the same goal.

    That said, I do worry that there is a root usage issue here we don't understand. Why are you copying to a new repository and dropping the history? The normal git workflow would be to fork the repository, or if you needed it embedded into a different repository, a sub-tree merge.

  2. added
    bug
    and removed
    needs-triage
    on Jun 30, 2023
  3. added a commit that references this issue on Aug 20, 2024
    9fb423c
  4. added a commit that references this issue on Aug 21, 2024
    9018970
  5. added a commit that references this issue on Jul 24, 2025
    a14deae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions