Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- SHELL:=/bin/bash
-
- caf:
- git clone https://bitbucket.org/rayburgemeestre/benchmarklib
- pushd benchmarklib && git checkout master
- bash ../ubuntu1804.sh make impl
- make package
-
- impl:
- # TODO install boost from apt repo
- # if [[ -f CMakeCache.txt ]]; then rm CMakeCache.txt; fi
- pushd benchmarklib && \
- CXX=$$(which c++) cmake -DSTATIC=1 -DBOOST_ROOT=/opt/cppse/build/boost . && \
- make -j $$(nproc) && \
- make install && \
-
- package:
- rm -rf out
- mkdir -p out/opt/cppse/build/benchmarklib
- cp -prv /path/to.a out/opt/cppse/build/benchmarklib/
- rm -rf benchmarklib_1.0_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -s dir -t deb -n benchmarklib --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "benchmarklib - build dependency" --url "https://github.com/liballeg/benchmarklib.git" --deb-generate-changes -C /src/out
-
- clean:
- rm -rf benchmarklib
- rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash
|