Skip to content

Commit

Permalink
science/InsightToolkit521: Broken on i386
Browse files Browse the repository at this point in the history
Reported by:	fallout
  • Loading branch information
yurivict committed Dec 4, 2022
1 parent c2a36e9 commit c53f4ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions science/InsightToolkit521/Makefile
Expand Up @@ -13,6 +13,8 @@ WWW= https://www.itk.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BROKEN_i386= compilation fails: always_inline function '_mm_cvtsd_si32' requires target feature 'sse2' (i386 doesn't have SSE2 enabled by default, and adding -msse2 doesn't help)

BUILD_DEPENDS= googletest>=0:devel/googletest
LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \
libexpat.so:textproc/expat2 \
Expand Down Expand Up @@ -48,8 +50,6 @@ CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
CMAKE_OFF= ITK_USE_KWSTYLE BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING # 3 tests are known to fail, see https://github.com/InsightSoftwareConsortium/ITK/issues/3739

CXXFLAGS_i386= -msse2 # to fix this error: always_inline function '_mm_cvtsd_si32' requires target feature 'sse2' (i386 doesn't have SSE2 enabled by default)

ITK_VER= ${PORTVERSION:R}

PLIST_SUB+= ITK_VER=${ITK_VER}
Expand Down

0 comments on commit c53f4ec

Please sign in to comment.