From ad0b5613b4d5eef3568a01fccf83b403b795e4a7 Mon Sep 17 00:00:00 2001 From: Karan Date: Sun, 1 Jun 2025 00:31:06 +0530 Subject: [PATCH 1/2] (docs): update outdated macos build guide Signed-off-by: Karan --- docs/contribute/source/os/macos.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/contribute/source/os/macos.md b/docs/contribute/source/os/macos.md index 98eb284d..41d1826f 100644 --- a/docs/contribute/source/os/macos.md +++ b/docs/contribute/source/os/macos.md @@ -32,8 +32,8 @@ WasmEdge will try to use the latest LLVM release to create our nightly build. If ```bash # Tools and libraries -brew install cmake ninja llvm -export LLVM_DIR="$(brew --prefix)/opt/llvm/lib/cmake" +brew install cmake ninja llvm@16 +export LLVM_DIR="$(brew --prefix)/opt/llvm@16/lib/cmake" export CC=clang export CXX=clang++ ``` @@ -59,11 +59,3 @@ Users can use these tests to verify the correctness of WasmEdge binaries. cd build DYLD_LIBRARY_PATH=$(pwd)/lib/api ctest ``` - -## Known issues - -The following tests can not pass on Macos, we are investigating these issues: - -- wasmedgeWasiSocketTests - -But we have an open issue working on it. Don't hesitate to leave your feedback for [this issue](https://github.com/WasmEdge/WasmEdge/issues/2438). From 3a2cbb88a0e1d0dec237666afc4bfea283147a3e Mon Sep 17 00:00:00 2001 From: Karan Date: Sun, 1 Jun 2025 04:24:52 +0530 Subject: [PATCH 2/2] (docs): update llvm 16 to 18(per ci) Signed-off-by: Karan --- docs/contribute/source/os/macos.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/contribute/source/os/macos.md b/docs/contribute/source/os/macos.md index 41d1826f..7ef4ad7c 100644 --- a/docs/contribute/source/os/macos.md +++ b/docs/contribute/source/os/macos.md @@ -28,12 +28,12 @@ cd WasmEdge WasmEdge will try to use the latest LLVM release to create our nightly build. If you want to build from source, you may need to install these dependencies yourself. -- LLVM 16.0.4 (>= 10.0.0) +- LLVM 18.1.8 (>= 10.0.0) ```bash # Tools and libraries -brew install cmake ninja llvm@16 -export LLVM_DIR="$(brew --prefix)/opt/llvm@16/lib/cmake" +brew install cmake ninja llvm@18 +export LLVM_DIR="$(brew --prefix)/opt/llvm@18/lib/cmake" export CC=clang export CXX=clang++ ```