From c90fdb0def7d690ed365670180a067f64b084ccb Mon Sep 17 00:00:00 2001 From: Victor Fusco <1221933+vfusco@users.noreply.github.com> Date: Tue, 24 Oct 2023 18:10:21 -0300 Subject: [PATCH] fixup! ci: build macos with homebrew --- .github/workflows/build.yml | 2 +- README.md | 2 +- src/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2dcb05ad..ca53f420a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -749,7 +749,7 @@ jobs: submodules: recursive - name: Install dependencies run: | - brew install llvm@12 automake boost libomp wget cmake cryptopp pkg-config grpc zlib openssl lua@5.4 libb64 nlohmann-json luarocks + brew install llvm@15 automake boost libomp wget cmake cryptopp pkg-config grpc zlib openssl lua@5.4 libb64 nlohmann-json luarocks luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install lpeg luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install dkjson luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install luasocket diff --git a/README.md b/README.md index a890dbdfa..8f30854cd 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ sudo luarocks install --lua-version=5.4 md5 ##### Homebrew ``` -brew install llvm@12 automake boost libomp wget cmake pkg-config grpc zlib openssl cryptopp lua@5.4 libb64 nlohmann-json luarocks +brew install llvm@15 automake boost libomp wget cmake pkg-config grpc zlib openssl cryptopp lua@5.4 libb64 nlohmann-json luarocks luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install lpeg luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install dkjson luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install luasocket diff --git a/src/Makefile b/src/Makefile index 3ad01fe73..1976c2cc2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,7 +70,7 @@ NLOHMANN_JSON_INC_Darwin:=-I/usr/local/opt/nlohmann-json/include B64_LIB_Darwin:=-L/usr/local/opt/libb64/lib -lb64 B64_INC_Darwin:=-I/usr/local/opt/libb64/include GRPC_INC_Darwin=-I/usr/local/opt/gprc/include -GRPC_LIB_Darwin=-L/usr/local/opt/grpc/lib -lgrpc++ -lgrpc -lgpr -lprotobuf -lpthread -labsl_synchronization +GRPC_LIB_Darwin=-L/usr/local/opt/grpc/lib -lgrpc++ -lgrpc -lgpr -lprotobuf -lpthread -labsl_synchronization -labsl_log_internal_message PROTOBUF_LIB_Darwin:=-L/usr/local/opt/protobuf/lib -lprotobuf -lpthread else # Macports installation BOOST_LIB_DIR_Darwin=-L/opt/local/lib