Browse Source

Upgrade c++ actor framework dependency to 0.17.3.

Was: 0.14 or 0.15 IIRC
master
Ray Burgemeestre 5 years ago
parent
commit
174e71ac27
1 changed files with 17 additions and 5 deletions
  1. +17
    -5
      caf/Makefile

+ 17
- 5
caf/Makefile View File

SHELL:=/bin/bash SHELL:=/bin/bash


caf: caf:
git clone https://github.com/rayburgemeestre/actor-framework
pushd actor-framework && git checkout lib
#git clone https://github.com/rayburgemeestre/actor-framework
git clone https://github.com/actor-framework/actor-framework
pushd actor-framework && git checkout 0.17.3
bash ../ubuntu1804.sh make impl bash ../ubuntu1804.sh make impl
make package make package


./configure --prefix=$$PWD/caf_out --with-clang=$$(which c++) --build-static-only \ ./configure --prefix=$$PWD/caf_out --with-clang=$$(which c++) --build-static-only \
--no-examples \ --no-examples \
--no-unit-tests \ --no-unit-tests \
--no-benchmarks \
--no-tools \ --no-tools \
--no-python && \ --no-python && \
CMAKE_CXX_FLAGS="-std=c++17" make -j $$(nproc) && \
pushd build && \
mkdir build && \
cmake \
-DCMAKE_INSTALL_PREFIX=$$PWD/caf_out \
-DCAF_BUILD_STATIC=yes \
-DCAF_BUILD_STATIC_ONLY=yes \
-DCAF_NO_AUTO_LIBCPP=yes \
-DCAF_NO_EXAMPLES=yes \
-DCAF_NO_UNIT_TESTS=yes \
.. && \
make -j $$(nproc) && \
make install make install
#GLIBCXX_USE_CXX11_ABI=1 CMAKE_CXX_FLAGS="-std=c++17 -stdlib=libc++" make -j $$(nproc) && \
#make install
#CMAKE_CXX_FLAGS="-std=c++17 -stdlib=libc++" make -j $$(nproc) && \ #CMAKE_CXX_FLAGS="-std=c++17 -stdlib=libc++" make -j $$(nproc) && \


package: package:
rm -rf out rm -rf out
mkdir -p out/opt/cppse/build/caf mkdir -p out/opt/cppse/build/caf
cp -prv actor-framework/caf_out/* out/opt/cppse/build/caf/
cp -prv actor-framework/build/caf_out/* out/opt/cppse/build/caf/
rm -rf caf_1.0_amd64.deb rm -rf caf_1.0_amd64.deb
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -s dir -t deb -n caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -s dir -t deb -n caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out



Loading…
Cancel
Save