Skip to content

Commit

Permalink
Merge pull request #264 from stoffu/aeon-build-static
Browse files Browse the repository at this point in the history
build-ubuntu: link zmq statically
  • Loading branch information
aeonix authored Apr 1, 2022
2 parents e3ed1d0 + 4c9cfed commit 6aaea21
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,18 @@ jobs:
- name: update apt
run: sudo apt update
- name: install monero dependencies
run: sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libnorm-dev libpgm-dev
run: sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libsodium-dev
- name: build & install static zmq
run: |
git clone https://github.com/zeromq/libzmq
cd libzmq
git checkout v4.3.2
mkdir build && cd build
cmake -D WITH_PERF_TOOL=OFF -D ZMQ_BUILD_TESTS=OFF -D ENABLE_CPACK=OFF -D CMAKE_BUILD_TYPE=Release ..
make -j3
sudo make install
sudo curl -L https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp --output /usr/local/include/zmq.hpp
working-directory: ..
- name: build
run: USE_SINGLE_BUILDDIR=1 make release-static -j3
- name: archive
Expand Down

0 comments on commit 6aaea21

Please sign in to comment.