Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

29 lines
909B

  1. SHELL:=/bin/bash
  2. caf:
  3. git clone https://github.com/rayburgemeestre/FastPFor
  4. pushd FastPFor && git checkout master
  5. bash ../ubuntu1804.sh make impl
  6. make package
  7. impl:
  8. pushd FastPFor && \
  9. CXX=$$(which c++) cmake . && \
  10. make -j $$(nproc)
  11. package:
  12. rm -rf out
  13. mkdir -p out/opt/cppse/build/fastpfor/lib
  14. mkdir -p out/opt/cppse/build/fastpfor/include
  15. cp -prv ./FastPFor/libFastPFor.a out/opt/cppse/build/fastpfor/lib/
  16. cp -prv ./FastPFor/headers out/opt/cppse/build/fastpfor/include/
  17. rm -rf fastpfor_1.0_amd64.deb
  18. 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
  19. clean:
  20. rm -rf FastPFor
  21. rm -rf out
  22. shell:
  23. FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash