Просмотр исходного кода

Upgrade c++ actor framework dependency to 0.17.3.

Was: 0.14 or 0.15 IIRC
master
Ray Burgemeestre 5 лет назад
Родитель
Сommit
174e71ac27
1 измененных файлов: 17 добавлений и 5 удалений
  1. +17
    -5
      caf/Makefile

+ 17
- 5
caf/Makefile Просмотреть файл

@@ -1,8 +1,9 @@
SHELL:=/bin/bash

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
make package

@@ -16,17 +17,28 @@ impl:
./configure --prefix=$$PWD/caf_out --with-clang=$$(which c++) --build-static-only \
--no-examples \
--no-unit-tests \
--no-benchmarks \
--no-tools \
--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
#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) && \

package:
rm -rf out
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
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


Загрузка…
Отмена
Сохранить