Abhay13332 wrote:

@EugeneZelenko  i am getting this error for codegen codelinter in each 
submission but and other linux/windows etc tests are passing can you suggest 
what might be the so i look for it 
<img width="1833" height="1053" alt="image" 
src="https://github.com/user-attachments/assets/019ed126-958c-420d-9e5d-379800a9528e";
 />
error info: - git config --global --add safe.directory '*'
  
  . <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
  
  if [[ "${projects_to_build}" == "" ]]; then
    echo "No projects to analyze"
    exit 0
  fi
  
  cmake -G Ninja \
        -B build \
        -S llvm \
        -DLLVM_ENABLE_ASSERTIONS=OFF \
        -DLLVM_ENABLE_PROJECTS="${projects_to_build}" \
        -DCMAKE_CXX_COMPILER=clang++ \
        -DCMAKE_C_COMPILER=clang \
        -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
        -DLLVM_INCLUDE_TESTS=OFF \
        -DCLANG_INCLUDE_TESTS=OFF \
        -DCMAKE_BUILD_TYPE=Release
  
  ninja_targets=""
  if [[ ";${projects_to_build};" == *";clang;"* ]]; then
    ninja_targets="${ninja_targets} clang-tablegen-targets"
  fi
  if [[ ";${projects_to_build};" == *";clang-tools-extra;"* ]]; then
    ninja_targets="${ninja_targets} genconfusable"
  fi
  if [[ -n "${ninja_targets}" ]]; then
    ninja -C build ${ninja_targets}
  fi
  shell: bash --noprofile --norc -e -o pipefail {0}
/dev/fd/63: line 1: {projects_to_build:: command not found
Error: Process completed with exit code 127.


https://github.com/llvm/llvm-project/pull/230846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to