File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
.github/actions/Build_and_Test_CppInterOp Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6363 fi
6464 if [[ "${{ matrix.oop-jit }}" == "On" ]]; then
6565 ./unittests/CppInterOp/CppInterOpTests/unittests/bin/${{ env.BUILD_TYPE }}/CppInterOpTests --use-oop-jit
66+ fi
6667 fi
6768 echo "CB_PYTHON_DIR=$CB_PYTHON_DIR" >> $GITHUB_ENV
6869 echo "CPPINTEROP_BUILD_DIR=$CPPINTEROP_BUILD_DIR" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ cd ./CppInterOp-wasm
2020
2121To create a wasm build of CppInterOp we make use of the emsdk toolchain. This can be installed by executing (we only currently
2222support version 3.1.73)
23+
2324``` bash
2425git clone https://github.com/emscripten-core/emsdk.git
2526./emsdk/emsdk install 3.1.73
@@ -69,6 +70,7 @@ git apply -v emscripten-clang20-3-enable_exception_handling.patch
6970
7071We are now in a position to build an emscripten build of llvm by executing the following on Linux
7172and osx
73+
7274``` bash
7375mkdir native_build
7476cd native_build
@@ -221,7 +223,6 @@ emcmake cmake -DCMAKE_BUILD_TYPE=Release `
221223
222224It is possible to run the Emscripten tests in a headless browser. To do this we will first move to the tests directory
223225
224-
225226``` bash
226227 cd ./unittests/CppInterOp/
227228```
Original file line number Diff line number Diff line change 11# CppInterOp
2+
23<div align =" center " >
34
45[ ![ Build Status] ( https://github.com/compiler-research/CppInterOp/actions/workflows/main.yml/badge.svg )] ( https://github.com/compiler-research/CppInterOp/actions/workflows/main.yml )
@@ -213,6 +214,7 @@ git clone --depth=1 https://github.com/compiler-research/cppyy-backend.git
213214
214215To have `` Out-of-Process JIT Execution `` enabled, run following commands to build clang and clang-repl to support this feature:
215216> Only for Linux x86_64 and Macos amr64
217+
216218``` bash
217219mkdir build
218220cd build
@@ -228,10 +230,13 @@ cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" \
228230```
229231
230232## For Linux x86_64
233+
231234``` bash
232235cmake --build . --target clang clang-repl llvm-jitlink-executor orc_rt-x86_64 --parallel $( nproc --all)
233236```
237+
234238## For MacOS arm64
239+
235240``` bash
236241cmake --build . --target clang clang-repl llvm-jitlink-executor orc_rt_osx --parallel $( sysctl -n hw.ncpu)
237242```
You can’t perform that action at this time.
0 commit comments