mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
sci-libs/onnxruntime: remove Werror
Signed-off-by: Patrick Nicolas <patricknicolas@laposte.net>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
diff '--color=auto' -rdu onnxruntime-1.24.4.orig/cmake/CMakeLists.txt onnxruntime-1.24.4/cmake/CMakeLists.txt
|
||||
--- onnxruntime-1.24.4.orig/cmake/CMakeLists.txt 2026-03-16 23:52:22.000000000 +0100
|
||||
+++ onnxruntime-1.24.4/cmake/CMakeLists.txt 2026-04-17 18:31:40.823920137 +0200
|
||||
@@ -1081,7 +1081,6 @@
|
||||
target_compile_definitions(${target_name} PRIVATE USE_KLEIDIAI)
|
||||
endif()
|
||||
|
||||
- set_target_properties(${target_name} PROPERTIES COMPILE_WARNING_AS_ERROR ON)
|
||||
if (onnxruntime_USE_CUDA)
|
||||
# Suppress a "conversion_function_not_usable" warning in gsl/span
|
||||
target_compile_options(${target_name} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcudafe \"--diag_suppress=conversion_function_not_usable\">")
|
||||
@@ -71,6 +71,7 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.22.2-relax-the-dependency-on-flatbuffers.patch"
|
||||
"${FILESDIR}/${PN}-1.24.3-use-system-libraries.patch"
|
||||
"${FILESDIR}/${PN}-1.24.4-no-werror.patch"
|
||||
)
|
||||
|
||||
CMAKE_USE_DIR="${S}/cmake"
|
||||
|
||||
Reference in New Issue
Block a user