Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
|
- SHELL:=/bin/bash
-
- caf:
- #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
-
- impl:
- update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-9 40
- update-alternatives --install /usr/bin/cc cc /usr/bin/clang-9 40
- update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 40
- update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 40
- update-alternatives --install /usr/bin/ld ld /usr/bin/ld.lld-9 40
- pushd actor-framework && \
- ./configure --prefix=$$PWD/caf_out --with-clang=$$(which c++) --build-static-only \
- --no-examples \
- --no-unit-tests \
- --no-tools \
- --no-python && \
- pushd build && \
- mkdir -p build && \
- cmake \
- -DCMAKE_INSTALL_PREFIX=$$PWD/caf_out \
- -DCAF_BUILD_STATIC=yes \
- -DCAF_BUILD_STATIC_ONLY=yes \
- -DCAF_NO_EXAMPLES=yes \
- -DCAF_NO_UNIT_TESTS=yes \
- .. && \
- make -j $$(nproc) && \
- make install
- #-DCAF_NO_AUTO_LIBCPP=yes \
- #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/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
-
- clean:
- rm -rf actor-framework
- rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash
|