Browse Source

Add FastPFor project.

master
Ray Burgemeestre 5 years ago
parent
commit
ed0c9427eb
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      fastpfor/Makefile

+ 28
- 0
fastpfor/Makefile View File

@@ -0,0 +1,28 @@
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

Loading…
Cancel
Save