1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/fastops: use better program names; run, but don't install the test.

This commit is contained in:
Alexey Dokuchaev 2021-10-29 11:37:22 +00:00
parent 3b8065a2ad
commit 3ac3eab64c
2 changed files with 14 additions and 3 deletions

View File

@ -17,4 +17,16 @@ USES= cmake compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= yandex
do-test:
${TEST_WRKSRC}/${PORTNAME}/ut/${PORTNAME}_test
post-stage:
# Rename generically-named binaries to avoid potential clashes
.for p in benchmark eval
${MV} ${STAGEDIR}${PREFIX}/bin/${p} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}_${p}
.endfor
# Remove the test program (we run tests, but not install them)
${RM} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}_test
.include <bsd.port.mk>

View File

@ -1,6 +1,5 @@
bin/benchmark
bin/eval
bin/fastops_test
bin/fastops_benchmark
bin/fastops_eval
include/avx/ops_avx.h
include/avx2/ops_avx2.h
include/core/FastIntrinsics.h