git: fff7af63147f - main - devel/level-zero: Update to 1.31.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 13:36:32 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fff7af63147fc06ce861ed0d4536381b8d2592a4
commit fff7af63147fc06ce861ed0d4536381b8d2592a4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-08 12:58:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-08 13:30:31 +0000
devel/level-zero: Update to 1.31.0
Changes: https://github.com/oneapi-src/level-zero/releases
---
devel/level-zero/Makefile | 10 +--------
devel/level-zero/distinfo | 6 +++---
.../files/patch-source-loader-ze_loader.cpp | 16 --------------
.../level-zero/files/patch-source-utils-logging.h | 23 --------------------
.../files/patch-source_utils_ze__to__string.h | 25 ----------------------
5 files changed, 4 insertions(+), 76 deletions(-)
diff --git a/devel/level-zero/Makefile b/devel/level-zero/Makefile
index b0d3b7ce80bc..b281bf5d01f2 100644
--- a/devel/level-zero/Makefile
+++ b/devel/level-zero/Makefile
@@ -1,5 +1,5 @@
PORTNAME= level-zero
-PORTVERSION= 1.28.6
+PORTVERSION= 1.31.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -11,18 +11,12 @@ WWW= https://spec.oneapi.io/versions/latest/elements/l0/source/index.html \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libfmt.so:devel/libfmt \
- libspdlog.so:devel/spdlog
-
USES= cmake compiler:c++14-lang localbase:ldflags
CMAKE_OFF= BUILD_INSTALLER \
BUILD_L0_LOADER_TESTS \
BUILD_STATIC \
USE_ASAN
-CMAKE_ON= SYSTEM_SPDLOG
-CXXFLAGS+= -Wno-extern-c-compat
-LDFLAGS+= -lfmt
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
@@ -32,7 +26,5 @@ GH_ACCOUNT= oneapi-src
post-patch:
@${ECHO_CMD} ${PORTVERSION:E} > ${WRKSRC}/VERSION_PATCH
-# Clean up bundled libraries
- @${RM} -r ${WRKSRC}/third_party/spdlog_headers
.include <bsd.port.mk>
diff --git a/devel/level-zero/distinfo b/devel/level-zero/distinfo
index 2afe1b8c27f7..ac700c61e0b8 100644
--- a/devel/level-zero/distinfo
+++ b/devel/level-zero/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778751860
-SHA256 (oneapi-src-level-zero-v1.28.6_GH0.tar.gz) = 02b26cc37181e792a39cef5c962e9732550fa767737b9932f6f1da137e1c2ac4
-SIZE (oneapi-src-level-zero-v1.28.6_GH0.tar.gz) = 1753319
+TIMESTAMP = 1782966088
+SHA256 (oneapi-src-level-zero-v1.31.0_GH0.tar.gz) = 9038fedd4889183a201d776f07e0c0cb6367183702bb54347b57cad805a438c5
+SIZE (oneapi-src-level-zero-v1.31.0_GH0.tar.gz) = 1682854
diff --git a/devel/level-zero/files/patch-source-loader-ze_loader.cpp b/devel/level-zero/files/patch-source-loader-ze_loader.cpp
deleted file mode 100644
index 9a23bb265825..000000000000
--- a/devel/level-zero/files/patch-source-loader-ze_loader.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- source/loader/ze_loader.cpp.orig 2024-07-01 19:14:47 UTC
-+++ source/loader/ze_loader.cpp
-@@ -10,11 +10,11 @@
- #include "driver_discovery.h"
- #include <iostream>
-
--#ifdef __linux__
-+#if defined(__FreeBSD__) || defined(__linux__)
- #include <unistd.h>
- #include <sys/types.h>
- #include <pwd.h>
--#endif // __linux__
-+#endif // defined(__FreeBSD__) || defined(__linux__)
-
- namespace loader
- {
diff --git a/devel/level-zero/files/patch-source-utils-logging.h b/devel/level-zero/files/patch-source-utils-logging.h
deleted file mode 100644
index 848fc7516473..000000000000
--- a/devel/level-zero/files/patch-source-utils-logging.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- source/utils/logging.h.orig 2025-05-23 14:18:52 UTC
-+++ source/utils/logging.h
-@@ -29,11 +29,11 @@
- #include "ze_api.h"
- #include "ze_util.h"
-
--#ifdef __linux__
-+#if defined(__FreeBSD__) || defined(__linux__)
- #include <unistd.h>
- #include <sys/types.h>
- #include <pwd.h>
--#endif // __linux__
-+#endif // defined(__FreeBSD__) || defined(__linux__)
-
- namespace loader {
-
-@@ -235,4 +235,4 @@ inline std::shared_ptr<Logger> createLogger() {
-
- } // namespace loader
-
--#endif
-\ No newline at end of file
-+#endif
diff --git a/devel/level-zero/files/patch-source_utils_ze__to__string.h b/devel/level-zero/files/patch-source_utils_ze__to__string.h
deleted file mode 100644
index fd99525b7ead..000000000000
--- a/devel/level-zero/files/patch-source_utils_ze__to__string.h
+++ /dev/null
@@ -1,25 +0,0 @@
---- source/utils/ze_to_string.h.orig 2026-05-11 20:15:36 UTC
-+++ source/utils/ze_to_string.h
-@@ -128,9 +128,6 @@ inline std::string to_string(uint8_t value) { return s
- inline std::string to_string(uint16_t value) { return std::to_string(value); }
- inline std::string to_string(int32_t value) { return std::to_string(value); }
- inline std::string to_string(int64_t value) { return std::to_string(value); }
--#if SIZE_MAX != UINT64_MAX
--inline std::string to_string(size_t value) { return std::to_string(value); }
--#endif
- inline std::string to_string(double value) { return std::to_string(value); }
- inline std::string to_string(const char* str) {
- if (!str) return "nullptr";
-@@ -162,12 +159,6 @@ inline std::string to_string(const int64_t* ptr) {
- if (!ptr) return "nullptr";
- return to_string(*ptr);
- }
--#if SIZE_MAX != UINT64_MAX
--inline std::string to_string(const size_t* ptr) {
-- if (!ptr) return "nullptr";
-- return to_string(*ptr);
--}
--#endif
- inline std::string to_string(const double* ptr) {
- if (!ptr) return "nullptr";
- return to_string(*ptr);