Skip to content

Commit

Permalink
Merge pull request #745 from apache/hotfix/openssl-update
Browse files Browse the repository at this point in the history
Hotfix/macos-build-brew-fix
  • Loading branch information
PengZheng authored Apr 25, 2024
2 parents 0802579 + bb912e0 commit 06ecb85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions/checkout@v3.3.0
- name: Install dependencies
run: |
brew install lcov jansson rapidjson libzip ccache ninja
brew install lcov jansson rapidjson libzip ccache ninja openssl@1.1
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
run: |
Expand Down Expand Up @@ -104,5 +104,5 @@ jobs:
- name: Test
run: |
cd $GITHUB_WORKSPACE/build
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
export DYLD_LIBRARY_PATH=$(brew --prefix openssl@1.1)/lib/:$DYLD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
ctest --output-on-failure
3 changes: 2 additions & 1 deletion cmake/Findcivetweb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ if (NOT civetweb_FOUND)
set(CIVETWEB_ENABLE_WEBSOCKETS TRUE CACHE BOOL "" FORCE)
set(CIVETWEB_BUILD_TESTING FALSE CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS TRUE CACHE BOOL "" FORCE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error")
FetchContent_Declare(
civetweb
GIT_REPOSITORY https://github.com/civetweb/civetweb.git
# GIT_REPOSITORY https://gitee.com/mirrors/civetweb.git
GIT_TAG eefb26f82b233268fc98577d265352720d477ba4 # V1.15
GIT_TAG d7ba35bbb649209c66e582d5a0244ba988a15159 # V1.16
)
FetchContent_MakeAvailable(civetweb)
if (NOT TARGET civetweb::civetweb)
Expand Down
2 changes: 0 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,6 @@ def requirements(self):
self.requires("mdnsresponder/1310.140.1")
# 'libzip/1.10.1' requires 'zlib/1.2.13' while 'libcurl/7.64.1' requires 'zlib/1.2.12'
self.requires("zlib/1.2.13", override=True)
# the latest civetweb (1.16) is not ready for openssl3
self.requires("openssl/1.1.1t", override=True)
self.validate()

def generate(self):
Expand Down

0 comments on commit 06ecb85

Please sign in to comment.