File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -477,8 +477,8 @@ jobs:
477
477
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
478
478
if [[ "${cling_on}" == "ON" ]]; then
479
479
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
480
- -DUSE_CLING =ON \
481
- -DUSE_REPL =OFF \
480
+ -DCPPINTEROP_USE_CLING =ON \
481
+ -DCPPINTEROP_USE_REPL =OFF \
482
482
-DCPPINTEROP_INCLUDE_DOCS=${{ matrix.documentation }} \
483
483
-DCling_DIR=$LLVM_BUILD_DIR/tools/cling \
484
484
-DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
Original file line number Diff line number Diff line change @@ -440,8 +440,8 @@ jobs:
440
440
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
441
441
if [[ "${cling_on}" == "ON" ]]; then
442
442
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
443
- -DUSE_CLING =ON \
444
- -DUSE_REPL =OFF \
443
+ -DCPPINTEROP_USE_CLING =ON \
444
+ -DCPPINTEROP_USE_REPL =OFF \
445
445
-DCPPINTEROP_INCLUDE_DOCS=${{ matrix.documentation }} \
446
446
-DCling_DIR=$LLVM_BUILD_DIR/tools/cling \
447
447
-DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
Original file line number Diff line number Diff line change @@ -377,8 +377,8 @@ jobs:
377
377
if ( "${{ matrix.cling }}" -imatch "On" )
378
378
{
379
379
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} `
380
- -DUSE_CLING =ON `
381
- -DUSE_REPL =OFF `
380
+ -DCPPINTEROP_USE_CLING =ON `
381
+ -DCPPINTEROP_USE_REPL =OFF `
382
382
-DCling_DIR="$env:LLVM_BUILD_DIR\tools\cling" `
383
383
-DLLVM_DIR="$env:LLVM_BUILD_DIR" `
384
384
-DLLVM_ENABLE_WERROR=On `
Original file line number Diff line number Diff line change @@ -598,8 +598,8 @@ jobs:
598
598
export CPPINTEROP_BUILD_DIR=$PWD
599
599
if [[ "${cling_on}" == "ON" ]]; then
600
600
emcmake cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
601
- -DUSE_CLING =ON \
602
- -DUSE_REPL =OFF \
601
+ -DCPPINTEROP_USE_CLING =ON \
602
+ -DCPPINTEROP_USE_REPL =OFF \
603
603
-DCMAKE_PREFIX_PATH=$PREFIX \
604
604
-DCling_DIR=$LLVM_BUILD_DIR/tools/cling \
605
605
-DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ if(DEFINED CppInterOp_DIR)
23
23
else ()
24
24
set (_interop_install_dir ${CMAKE_BINARY_DIR} /CppInterOp/install )
25
25
26
- if (DEFINED USE_CLING )
27
- list (APPEND _interop_cmake_args "-DUSE_CLING =${USE_CLING } " )
26
+ if (DEFINED CPPINTEROP_USE_CLING )
27
+ list (APPEND _interop_cmake_args "-DCPPINTEROP_USE_CLING =${CPPINTEROP_USE_CLING } " )
28
28
endif ()
29
29
30
30
if (DEFINED Cling_DIR )
Original file line number Diff line number Diff line change @@ -181,22 +181,22 @@ cd CppInterOp\build\
181
181
182
182
Now if you want to build CppInterOp with Clang-REPL then execute the following commands on Linux and MacOS
183
183
```
184
- cmake -DBUILD_SHARED_LIBS=ON -DUSE_CLING =Off -DUSE_REPL =ON -DLLVM_DIR=$LLVM_DIR/build/lib/cmake/llvm -DClang_DIR=$LLVM_DIR/build/lib/cmake/clang -DCMAKE_INSTALL_PREFIX=$CPPINTEROP_DIR ..
184
+ cmake -DBUILD_SHARED_LIBS=ON -DCPPINTEROP_USE_CLING =Off -DCPPINTEROP_USE_REPL =ON -DLLVM_DIR=$LLVM_DIR/build/lib/cmake/llvm -DClang_DIR=$LLVM_DIR/build/lib/cmake/clang -DCMAKE_INSTALL_PREFIX=$CPPINTEROP_DIR ..
185
185
cmake --build . --target install --parallel $(nproc --all)
186
186
```
187
187
and
188
188
```
189
- cmake -DUSE_CLING =Off -DUSE_REPL =ON -DLLVM_DIR=$LLVM_DIR\build\lib\cmake\llvm -DClang_DIR=$LLVM_DIR\build\lib\cmake\clang -DCMAKE_INSTALL_PREFIX=$env:CPPINTEROP_DIR ..
189
+ cmake -DCPPINTEROP_USE_CLING =Off -DCPPINTEROP_USE_REPL =ON -DLLVM_DIR=$LLVM_DIR\build\lib\cmake\llvm -DClang_DIR=$LLVM_DIR\build\lib\cmake\clang -DCMAKE_INSTALL_PREFIX=$env:CPPINTEROP_DIR ..
190
190
cmake --build . --target install --parallel $env:ncpus
191
191
```
192
192
on Windows. If alternatively you would like to install CppInterOp with Cling then execute the following commands on Linux and MacOS
193
193
```
194
- cmake -DBUILD_SHARED_LIBS=ON -DUSE_CLING =ON -DUSE_REPL =Off -DCling_DIR=$LLVM_DIR/build/tools/cling -DLLVM_DIR=$LLVM_DIR/build/lib/cmake/llvm -DClang_DIR=$LLVM_DIR/build/lib/cmake/clang -DCMAKE_INSTALL_PREFIX=$CPPINTEROP_DIR ..
194
+ cmake -DBUILD_SHARED_LIBS=ON -DCPPINTEROP_USE_CLING =ON -DCPPINTEROP_USE_REPL =Off -DCling_DIR=$LLVM_DIR/build/tools/cling -DLLVM_DIR=$LLVM_DIR/build/lib/cmake/llvm -DClang_DIR=$LLVM_DIR/build/lib/cmake/clang -DCMAKE_INSTALL_PREFIX=$CPPINTEROP_DIR ..
195
195
cmake --build . --target install --parallel $(nproc --all)
196
196
```
197
197
and
198
198
```
199
- cmake -DUSE_CLING =ON -DUSE_REPL =Off -DCling_DIR=$LLVM_DIR\build\tools\cling -DLLVM_DIR=$LLVM_DIR\build\lib\cmake\llvm -DClang_DIR=$LLVM_DIR\build\lib\cmake\clang -DCMAKE_INSTALL_PREFIX=$env:CPPINTEROP_DIR ..
199
+ cmake -DCPPINTEROP_USE_CLING =ON -DCPPINTEROP_USE_REPL =Off -DCling_DIR=$LLVM_DIR\build\tools\cling -DLLVM_DIR=$LLVM_DIR\build\lib\cmake\llvm -DClang_DIR=$LLVM_DIR\build\lib\cmake\clang -DCMAKE_INSTALL_PREFIX=$env:CPPINTEROP_DIR ..
200
200
cmake --build . --target install --parallel $env:ncpus
201
201
```
202
202
You can’t perform that action at this time.
0 commit comments