git: 0278c894a792 - main - science/nlcglib: update 1.1.0 → 1.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Oct 2026 22:31:03 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0278c894a7922b6ceda59cf5de675fd25e519281
commit 0278c894a7922b6ceda59cf5de675fd25e519281
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-01 22:28:52 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-01 22:31:00 +0000
science/nlcglib: update 1.1.0 → 1.4.0
---
science/nlcglib/Makefile | 8 +++++---
science/nlcglib/distinfo | 6 +++---
science/nlcglib/files/patch-CMakeLists.txt | 11 +++++++++++
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/science/nlcglib/Makefile b/science/nlcglib/Makefile
index 7ae388b6dc3e..4b0e9fb59cd5 100644
--- a/science/nlcglib/Makefile
+++ b/science/nlcglib/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nlcglib
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.0
-PORTREVISION= 6
+DISTVERSION= 1.4.0
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
@@ -12,7 +11,8 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
-LIB_DEPENDS= libkokkoscore.so:devel/kokkos \
+LIB_DEPENDS= libfmt.so:devel/libfmt \
+ libkokkoscore.so:devel/kokkos \
libopenblas.so:math/openblas
TEST_DEPENDS= googletest>0:devel/googletest
@@ -41,4 +41,6 @@ OPENMPI_USES= mpi:openmpi
OPENMP_CMAKE_BOOL= USE_OPENMP # binaries are still linked with libomp when USE_OPENMP=OFF, see https://github.com/simonpintarelli/nlcglib/issues/13
+# tests as of 1.4.0: fail to compile, see https://github.com/simonpintarelli/nlcglib/issues/35
+
.include <bsd.port.mk>
diff --git a/science/nlcglib/distinfo b/science/nlcglib/distinfo
index ebd705c64992..28bb47226511 100644
--- a/science/nlcglib/distinfo
+++ b/science/nlcglib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724047165
-SHA256 (simonpintarelli-nlcglib-v1.1.0_GH0.tar.gz) = 9e7c2eea84a5ce191bd9af08f6c890717f7b6e88be7bd15cfe774eb0e0dabd8a
-SIZE (simonpintarelli-nlcglib-v1.1.0_GH0.tar.gz) = 67209
+TIMESTAMP = 1790891852
+SHA256 (simonpintarelli-nlcglib-v1.4.0_GH0.tar.gz) = 318805dab3c67d918479a65d54217b78ee5c2181713587b514cb7e2628414214
+SIZE (simonpintarelli-nlcglib-v1.4.0_GH0.tar.gz) = 73395
diff --git a/science/nlcglib/files/patch-CMakeLists.txt b/science/nlcglib/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..fa4310d2a73c
--- /dev/null
+++ b/science/nlcglib/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2026-10-01 22:22:52 UTC
++++ CMakeLists.txt
+@@ -22,7 +22,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS "YES")
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+ set(CMAKE_EXPORT_COMPILE_COMMANDS "YES")
+
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")
++#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")
+
+ include(cmake/nlcglib_macros.cmake)
+ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules")