mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
biology/spoa: fix build on non-x86
In file included from /wrkdirs/usr/ports/biology/spoa/work/spoa-4.0.7/src/dispatcher.cpp:7: /usr/local/include/cpuinfo_x86.h:228:2: error: "Including cpuinfo_x86.h from a non-x86 target." #error "Including cpuinfo_x86.h from a non-x86 target."
This commit is contained in:
parent
8475985698
commit
0d3d925193
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567333
@ -25,11 +25,17 @@ USE_LDCONFIG= yes
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rvaser
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS spoa_optimize_for_portability spoa_build_executable spoa_use_simde spoa_use_simde_nonvec spoa_use_simde_openmp spoa_generate_dispatch
|
||||
CMAKE_ON= BUILD_SHARED_LIBS spoa_optimize_for_portability spoa_build_executable spoa_use_simde spoa_use_simde_nonvec spoa_use_simde_openmp
|
||||
CMAKE_OFF= spoa_optimize_for_native
|
||||
|
||||
LDFLAGS+= -lz -lcpu_features
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == amd64 || ${ARCH} == i386
|
||||
CMAKE_ARGS+= -Dspoa_generate_dispatch:BOOL=ON
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
@cd ${BUILD_WRKSRC} && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -D${PORTNAME}_build_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user