Skip to content

Commit

Permalink
add boringssl compile bazel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng He committed Sep 28, 2023
1 parent 20a619d commit 56a90ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ jobs:
run: |
export CC=gcc && export CXX=g++
bazel build -j 12 -c opt --define with_mesalink=false --define with_glog=true --define with_thrift=true --copt -DHAVE_ZLIB=1 //...
- name: compile-with-boringssl
run: |
bazel build -j 12 -c opt --define with_mesalink=false --define with_glog=true --define with_thrift=true --define BRPC_WITH_BORINGSSL=true --copt -DHAVE_ZLIB=1 //...
clang-compile-with-make:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -178,6 +180,9 @@ jobs:
run: |
export CC=clang && export CXX=clang++
bazel build -j ${{env.proc_num}} -c opt --define with_mesalink=false --define with_glog=true --define with_thrift=true --copt -DHAVE_ZLIB=1 //...
- name: compile-with-boringssl
run: |
bazel build -j ${{env.proc_num}} -c opt --define with_mesalink=false --define with_glog=true --define with_thrift=true --define BRPC_WITH_BORINGSSL=true --copt -DHAVE_ZLIB=1 //...
clang-unittest:
runs-on: ubuntu-20.04
Expand Down
4 changes: 3 additions & 1 deletion cmake/FindBoringSSL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ mark_as_advanced(
BORINGSSL_LIBRARIES
BORINGSSL_CRYPTO_LIBRARY
BORINGSSL_SSL_LIBRARY
)
)

set(CMAKE_FIND_LIBRARY_SUFFIXES ${_boringssl_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})

0 comments on commit 56a90ad

Please sign in to comment.