Вы не можете выбрать более 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
- dpkg -i boost/pkg/*.deb
- 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/{include,lib}
- cp -prv /usr/local/lib/libbenchmarklib.a out/opt/cppse/build/benchmarklib/lib/
- cp -prv /usr/local/include/benchmark.h out/opt/cppse/build/benchmarklib/include/
- 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://bitbucket.org/rayburgemeestre/benchmarklib" --deb-generate-changes -C /src/out
-
- clean:
- rm -rf benchmarklib
- rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash
|