From 694338b6977ea42f8c38831e4b5d419fc442e0bd Mon Sep 17 00:00:00 2001 From: RS2007 Date: Mon, 30 Dec 2024 18:31:39 +0530 Subject: [PATCH 1/2] Update README with clang version note for macos --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f2a3ac63..cdf52c7a0 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,11 @@ cmake ../clad -DLLVM_DIR=/opt/homebrew/opt/llvm@12/lib/cmake/llvm -DClang_DIR=/o make && make install make check-clad ``` -### Developer Environment - Build LLVM, Clang and Clad from source: + +> **NOTE**: If you are using clad as a clang plugin after building it from source, use the version of clang from your llvm@12 installation directory(/opt/homebrew/opt/llvm@12/bin/clang). Using the systemwide clang binary may not work. + +### Developer Environment - Build LLVM, Clang and Clad from source: + ``` pip3 install lit ``` From ebd917531b3a278af1de01d558d185a7edf98a97 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Mon, 6 Jan 2025 10:49:31 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdf52c7a0..88c3899ac 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ make && make install make check-clad ``` -> **NOTE**: If you are using clad as a clang plugin after building it from source, use the version of clang from your llvm@12 installation directory(/opt/homebrew/opt/llvm@12/bin/clang). Using the systemwide clang binary may not work. +> **NOTE**: If you are using clad as a clang plugin after building it from source, please make sure that you uses the same compiler version you built clad against. Apple distributed clang does not work because Apple has disabled clang plugins. ### Developer Environment - Build LLVM, Clang and Clad from source: