diff --git a/biology/spoa/Makefile b/biology/spoa/Makefile index 6ad5d248bb8e..690c3e784a6f 100644 --- a/biology/spoa/Makefile +++ b/biology/spoa/Makefile @@ -1,55 +1,58 @@ PORTNAME= spoa -DISTVERSION= 4.1.0 +DISTVERSION= 4.1.5 CATEGORIES= biology MAINTAINER= yuri@FreeBSD.org COMMENT= C++ implementation of the partial order alignment (POA) algorithm WWW= https://github.com/rvaser/spoa LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: error: _Float16 is not supported on this target BUILD_DEPENDS= bioparser>0:biology/bioparser \ biosoup>0:biology/biosoup \ cereal>0:devel/cereal \ simde>0:devel/simde LIB_DEPENDS= libcpu_features.so:devel/cpu_features RUN_DEPENDS= cereal>0:devel/cereal TEST_DEPENDS= googletest>0:devel/googletest USES= cmake compiler:c++11-lang localbase:ldflags USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rvaser CMAKE_ON= BUILD_SHARED_LIBS \ spoa_build_exe \ - spoa_optimize_for_portability \ spoa_build_executable \ spoa_use_simde \ spoa_use_simde_nonvec \ spoa_use_simde_openmp \ spoa_use_cereal \ spoa_use_simde_openmp CMAKE_OFF= spoa_optimize_for_native \ spoa_build_tests CXXFLAGS+= -I${LOCALBASE}/include/cpu_features LDFLAGS+= -lz -lcpu_features .include .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} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${BUILD_WRKSRC}/bin/${PORTNAME}_test +tests as of 4.1.5: +# [==========] 23 tests from 2 test suites ran. (671 ms total) +# [ PASSED ] 23 tests. + .include diff --git a/biology/spoa/distinfo b/biology/spoa/distinfo index 09296c5fd3cf..7b72220d5b9a 100644 --- a/biology/spoa/distinfo +++ b/biology/spoa/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1693289273 -SHA256 (rvaser-spoa-4.1.0_GH0.tar.gz) = 43238356f00bce2ad9698fc18b3e320024172a82182dcff24d57c5cf19e342c8 -SIZE (rvaser-spoa-4.1.0_GH0.tar.gz) = 47814 +TIMESTAMP = 1762314066 +SHA256 (rvaser-spoa-4.1.5_GH0.tar.gz) = b5d323740b01255c55725e88db2548c666a05bc83b825c19cfac10586e21e7b3 +SIZE (rvaser-spoa-4.1.5_GH0.tar.gz) = 47513 diff --git a/biology/spoa/files/patch-CMakeLists.txt b/biology/spoa/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..44119c89566a --- /dev/null +++ b/biology/spoa/files/patch-CMakeLists.txt @@ -0,0 +1,16 @@ +--- CMakeLists.txt.orig 2025-11-05 03:44:04 UTC ++++ CMakeLists.txt +@@ -32,13 +32,6 @@ option(spoa_generate_dispatch "Use SIMDe to generate x + option(spoa_use_simde_openmp "Use SIMDe support for OpenMP SIMD" OFF) + option(spoa_generate_dispatch "Use SIMDe to generate x86 dispatch" OFF) + +-if (NOT spoa_generate_dispatch) +- if (spoa_optimize_for_portability) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1") +- elseif (spoa_optimize_for_native) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") +- endif () +-endif () + if (spoa_use_simde OR + spoa_use_simde_nonvec OR + spoa_use_simde_openmp OR