aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/2022-07-07-llvm-orc-jit/index.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-12-20 00:47:51 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-12-20 00:47:51 +0100
commit778cda58abc61711f054d89b09d8bc016763e774 (patch)
tree10b5c7f1f7edbc418d4709f87dd19bcb26d15038 /content/2022-07-07-llvm-orc-jit/index.md
parentf2f669414fae41fc791d4943a1446db61b30912f (diff)
downloadblog-778cda58abc61711f054d89b09d8bc016763e774.tar.gz
blog-778cda58abc61711f054d89b09d8bc016763e774.zip
llvm-orc-jit: add build-llvm.sh, enforce find_package success, and print used llvm/clang cmake config
Diffstat (limited to 'content/2022-07-07-llvm-orc-jit/index.md')
-rw-r--r--content/2022-07-07-llvm-orc-jit/index.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/2022-07-07-llvm-orc-jit/index.md b/content/2022-07-07-llvm-orc-jit/index.md
index e453f0c..0fc2f27 100644
--- a/content/2022-07-07-llvm-orc-jit/index.md
+++ b/content/2022-07-07-llvm-orc-jit/index.md
@@ -6,7 +6,7 @@ tags = ["llvm", "clang", "c++"]
+++
**EDIT**:
-- 2023-12-19: Migrate example to `llvm17`.
+- 2023-12-19: Migrate example to `LLVM-17`.
Based on the in-memory compiler shared in the last post ([C to LLVM IR in
memory using libclang](@/2022-06-18-libclang-c-to-llvm-ir/index.md)), this post
@@ -41,8 +41,12 @@ The sources are available under [llvm-orc-jit][post-src].
The following [Makefile][post-makefile] provides a convenience wrapper to
configure, build, and run the example with a single `make` invocation.
+Additionally, the [build-llvm.sh][post-build-llvm] script is provided to build
+specific LLVM versions.
+
[post-src]: https://git.memzero.de/blog/tree/content/2022-07-07-llvm-orc-jit?h=main
[post-makefile]: https://git.memzero.de/blog/tree/content/2022-07-07-llvm-orc-jit/Makefile?h=main
+[post-build-llvm]: https://git.memzero.de/blog/tree/content/2022-07-07-llvm-orc-jit/build-llvm.sh?h=main
[src-clang]: https://github.com/llvm/llvm-project/tree/main/clang
[blog-clang-in-memory]: https://blog.audio-tk.com/2018/09/18/compiling-c-code-in-memory-with-clang/
[llvm-jit-tut]: https://www.llvm.org/docs/tutorial/BuildingAJIT1.html