1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

math/kfr: Fix plist on non-Intel architectures

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-04-30 20:25:42 -07:00
parent b703b29ece
commit af51a91165
2 changed files with 15 additions and 10 deletions

View File

@ -25,6 +25,21 @@ CMAKE_TESTING_TARGET= ${ALL_TARGET}
#CXXFLAGS_armv6= -march=native # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
CMAKE_ARGS_armv6= -DCMT_FORCE_GENERIC_CPU=1 # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
.include <bsd.port.options.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_FILES= lib/libkfr_dft_avx.so \
lib/libkfr_dft_avx2.so \
lib/libkfr_dft_avx512.so \
lib/libkfr_dft_sse2.so \
lib/libkfr_dft_sse41.so \
lib/libkfr_dsp_avx.so \
lib/libkfr_dsp_avx2.so \
lib/libkfr_dsp_avx512.so \
lib/libkfr_dsp_sse2.so \
lib/libkfr_dsp_sse41.so
.endif
post-test: # see https://github.com/kfrlib/kfr/issues/164
@cd ${BUILD_WRKSRC} && \
${BUILD_WRKSRC}/bin/all_tests

View File

@ -147,14 +147,4 @@ include/kfr/version.hpp
lib/cmake/kfr/KFRConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/kfr/KFRConfig.cmake
lib/cmake/kfr/KFRConfigVersion.cmake
lib/libkfr_dft_avx.so
lib/libkfr_dft_avx2.so
lib/libkfr_dft_avx512.so
lib/libkfr_dft_sse2.so
lib/libkfr_dft_sse41.so
lib/libkfr_dsp_avx.so
lib/libkfr_dsp_avx2.so
lib/libkfr_dsp_avx512.so
lib/libkfr_dsp_sse2.so
lib/libkfr_dsp_sse41.so
lib/libkfr_io.so