Skip to content

Commit

Permalink
Define cling dir in terms of environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Feb 8, 2024
1 parent 96db6bf commit cd4f20d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ jobs:
cd ./cling
git checkout tags/v${{ matrix.cling-version }}
cd ..
CLING_DIR="$(pwd)/cling"
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git clang-dev
else # repl
Expand All @@ -217,7 +218,7 @@ jobs:
cd build
cmake -DLLVM_ENABLE_PROJECTS="clang;openmp" \
-DLLVM_EXTERNAL_PROJECTS=cling \
-DLLVM_EXTERNAL_CLING_SOURCE_DIR=../../cling \
-DLLVM_EXTERNAL_CLING_SOURCE_DIR=$CLING_DIR \
-DLLVM_TARGETS_TO_BUILD="host;NVPTX" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_OPTIMIZED_TABLEGEN=OFF \
Expand Down

0 comments on commit cd4f20d

Please sign in to comment.