No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

29 líneas
931B

  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 /path/to.a out/opt/cppse/build/fastpfor/lib/
  16. cp -prv ./FastPFor/headers /path/to.a 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