Skip to content

Commit c900d0b

Browse files
committed
utils.cpp included for both ems and native
1 parent c041faf commit c900d0b

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ git clone --depth=1 --branch release/20.x https://github.com/llvm/llvm-project.g
111111
cd llvm-project
112112
```
113113

114-
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS-Darwin environment.
115-
> Note that this patch will not work for Windows because out-of-process JIT execution is currently implemented for Linux-x86_64 and MacOS-Darwin only.
114+
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS arm64 environment.
115+
> Note that this patch will not work for Windows because out-of-process JIT execution is currently implemented for Linux-x86_64 and MacOS arm64 only.
116116
117117
```bash
118118
git apply -v ../CppInterOp/patches/llvm/clang20-1-out-of-process.patch
@@ -150,7 +150,7 @@ cd ../
150150
##### Build Clang-REPL with Out-of-Process JIT Execution
151151

152152
To have ``Out-of-Process JIT Execution`` enabled, run following commands to build clang and clang-repl to support this feature:
153-
> Only for Linux x86_64 and Macos amr64
153+
> Only for Linux x86_64 and MacOS arm64
154154
155155
```bash
156156
mkdir build

docs/DevelopersDocumentation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Clone the 20.x release of the LLVM project repository.
4141
git clone --depth=1 --branch release/20.x https://github.com/llvm/llvm-project.git
4242
cd llvm-project
4343
44-
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS-Darwin environment.
44+
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS arm64 environment.
4545
.. note::
4646

4747
This patch will not work for Windows because out-of-process JIT execution is currently implemented for Linux and MacOS only.
@@ -116,7 +116,7 @@ To have `Out-of-Process JIT Execution` enabled, run following commands to build
116116

117117
.. note::
118118

119-
Only for Linux x86_64 and Macos arm64
119+
Only for Linux x86_64 and MacOS arm64
120120

121121
.. code:: bash
122122
mkdir build

docs/InstallationAndUsage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Clone the 20.x release of the LLVM project repository.
4141
git clone --depth=1 --branch release/20.x https://github.com/llvm/llvm-project.git
4242
cd llvm-project
4343
44-
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS-Darwin environment.
44+
If you want to have out-of-process JIT execution enabled in CppInterOp, then apply this patch on Linux-x86_64 and MacOS arm64 environment.
4545
.. note::
4646

4747
This patch will not work for Windows because out-of-process JIT execution is currently implemented for Linux and MacOS only.
@@ -116,7 +116,7 @@ To have `Out-of-Process JIT Execution` enabled, run following commands to build
116116

117117
.. note::
118118

119-
Only for Linux x86_64 and Macos arm64
119+
Only for Linux x86_64 and MacOS arm64
120120

121121
.. code:: bash
122122
mkdir build

unittests/CppInterOp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ export_executable_symbols(CppInterOpTests)
8484

8585
unset(LLVM_LINK_COMPONENTS)
8686

87+
set(EXTRA_TEST_SOURCE_FILES Utils.cpp)
88+
8789
if (NOT EMSCRIPTEN)
88-
set(EXTRA_TEST_SOURCE_FILES Utils.cpp)
8990
set(EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/)
9091
endif()
9192

0 commit comments

Comments
 (0)