Skip to content

Commit

Permalink
only run check-llvm on linux (osx picks up wrong python)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 15, 2025
1 parent 8464189 commit 296b9d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then

if [[ "$target_platform" == linux* ]]; then
ln -s $(which $CC) $BUILD_PREFIX/bin/gcc
ninja -j${CPU_COUNT} check-llvm
fi

ninja -j${CPU_COUNT} check-llvm

cd ../llvm/test
$BUILD_PREFIX/bin/python ../../build/bin/llvm-lit -vv Transforms ExecutionEngine Analysis CodeGen/X86
fi

0 comments on commit 296b9d6

Please sign in to comment.