Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- SHELL:=/bin/bash
-
- caf:
- git clone https://github.com/rayburgemeestre/FastPFor
- pushd FastPFor && git checkout master
- 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 FastPFor && \
- CXX=$$(which c++) cmake . && \
- make -j $$(nproc)
-
- package:
- rm -rf out
- mkdir -p out/opt/cppse/build/fastpfor/lib
- mkdir -p out/opt/cppse/build/fastpfor/include
- cp -prv ./FastPFor/libFastPFor.a out/opt/cppse/build/fastpfor/lib/
- cp -prv ./FastPFor/headers out/opt/cppse/build/fastpfor/include/
- rm -rf fastpfor_1.0_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -s dir -t deb -n fastpfor --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fastpfor - build dependency" --url "https://github.com/rayburgemeestre/FastPFor" --deb-generate-changes -C /src/out
-
- clean:
- rm -rf FastPFor
- rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash
|