Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- SHELL:=/bin/bash
-
- caf:
- git clone https://github.com/rayburgemeestre/FastPFor
- pushd FastPFor && git checkout master
- bash ../ubuntu1804.sh make impl
- make package
-
- impl:
- 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 /path/to.a out/opt/cppse/build/fastpfor/lib/
- cp -prv ./FastPFor/headers /path/to.a 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
|