Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake build system updates #1823

Merged
merged 10 commits into from
Nov 11, 2022
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
container: centos:7

steps:
# python2-pip is broken on CentOS so can't upgrade pip or setuptools
# python2-pip is broken on CentOS so can't upgrade pip, setuptools, or wheel
- name: Install external dependencies with yum
run: |
yum update -y
Expand All @@ -195,7 +195,6 @@ jobs:
git \
cppunit-devel
yum clean all
python2 -m pip --no-cache-dir install --upgrade wheel

# Need to use v1 of action as image Git is too old
- name: Clone repository now that Git is available
Expand Down Expand Up @@ -334,10 +333,10 @@ jobs:
run: |
cd ..
cmake \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_INSTALL_PREFIX=/usr/local/ \
-DOPENSSL_SSL_LIBRARY=$(find $(find $(brew --cellar openssl) -type d -iname "lib") -type f -iname "libssl*.dylib") \
-DOPENSSL_CRYPTO_LIBRARY=$(find $(find $(brew --cellar openssl) -type d -iname "lib") -type f -iname "libcrypto*.dylib") \
-DOPENSSL_INCLUDE_DIR=$(find $(brew --cellar openssl) -type d -iname "include") \
-DCMAKE_PREFIX_PATH=/usr/local/opt/openssl@3 \
-DPYTHON_EXECUTABLE=$(command -v python3) \
-DENABLE_TESTS=ON \
-DPIP_OPTIONS="--verbose" \
Expand Down