Commit 9789930d authored by Paal Kvamme's avatar Paal Kvamme
Browse files

When unpacking the third party ZFP library, exclude examples and utils. This...

When unpacking the third party ZFP library, exclude examples and utils. This is to avoid red flags from the vulnerability scanner.
parent 158be6d1
......@@ -91,8 +91,8 @@ ZFPCMAKE = $(if $(wildcard /usr/bin/cmake3),/usr/bin/cmake3,/usr/bin/cmake)
$(ZFP_SENTINEL) $(ZFP_LIBRARY): $(ZFP_ZIPFILE) Makefile | $(BIN_DIR)
$(RM) -rf $(ZFP_BUILDDIR)
/bin/mkdir -p $(ZFP_BUILDDIR)/build
/bin/tar -C $(ZFP_BUILDDIR) --strip-components=1 -xzf $(ZFP_ZIPFILE)
(cd $(ZFP_BUILDDIR)/build; $(ZFPCMAKE) -DBUILD_ZFPY=OFF -DBUILD_SHARED_LIBS=ON .. && make)
/bin/tar -C $(ZFP_BUILDDIR) --strip-components=1 -xzf $(ZFP_ZIPFILE) --exclude examples --exclude utils
(cd $(ZFP_BUILDDIR)/build; $(ZFPCMAKE) -DBUILD_ZFPY=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_UTILITIES=OFF .. && make)
test -d $(ZFP_BUILDDIR)/build/lib64/. || ln -s lib $(ZFP_BUILDDIR)/build/lib64
touch $(ZFP_SENTINEL)
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment