public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/onnx] test-1.21.0: Rename and add commit messages to patches
Date: Mon, 08 Jun 2026 15:18:20 GMT [thread overview]
Message-ID: <178093190050.1.10078785287028617835.rpms-onnx-f138abdfd2bf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/onnx
Branch : test-1.21.0
Commit : f138abdfd2bfc667705ea2a49f29dd7f62794bb9
Author : Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
Date : 2024-02-24T15:08:03+01:00
Stats : +242/-204 in 12 file(s)
URL : https://src.fedoraproject.org/rpms/onnx/c/f138abdfd2bfc667705ea2a49f29dd7f62794bb9?branch=test-1.21.0
Log:
Rename and add commit messages to patches
---
diff --git a/0000-Build-shared-libraries-and-fix-install-location.patch b/0000-Build-shared-libraries-and-fix-install-location.patch
new file mode 100644
index 0000000..6ba8967
--- /dev/null
+++ b/0000-Build-shared-libraries-and-fix-install-location.patch
@@ -0,0 +1,73 @@
+From 8a2a2327e89fb62bb74ced121cbdf8c3a59ad04f Mon Sep 17 00:00:00 2001
+From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
+Date: Sat, 24 Feb 2024 14:48:45 +0100
+Subject: [PATCH 0/6] Build shared libraries and fix install location
+
+---
+ CMakeLists.txt | 22 ++++++++++++++++++++--
+ 1 file changed, 20 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4dd56b6e..7f79cc9a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -367,7 +367,7 @@ list(REMOVE_ITEM __tmp_srcs "${ONNX_ROOT}/onnx/cpp2py_export.cc")
+ list(REMOVE_ITEM __tmp_srcs ${onnx_gtests_src})
+ list(APPEND ONNX_SRCS ${__tmp_srcs})
+
+-add_library(onnx_proto ${ONNX_PROTO_SRCS} ${ONNX_PROTO_HDRS})
++add_library(onnx_proto SHARED ${ONNX_PROTO_SRCS} ${ONNX_PROTO_HDRS})
+ add_dependencies(onnx_proto gen_onnx_operators_proto gen_onnx_data_proto)
+ target_include_directories(onnx_proto PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
+@@ -400,6 +400,8 @@ else()
+ set(ONNX_API_DEFINE "-DONNX_API=__attribute__\(\(__visibility__\(\"default\"\)\)\)")
+ set_target_properties(onnx_proto PROPERTIES CXX_VISIBILITY_PRESET hidden)
+ set_target_properties(onnx_proto PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
++ set_target_properties(onnx_proto PROPERTIES VERSION ${ONNX_VERSION}
++ SOVERSION ${ONNX_VERSION})
+ endif()
+ target_compile_definitions(onnx_proto PRIVATE ${ONNX_API_DEFINE})
+
+@@ -423,7 +425,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
+ # So, create a object library
+ add_library(onnx OBJECT ${ONNX_SRCS})
+ else()
+- add_library(onnx ${ONNX_SRCS})
++ add_library(onnx SHARED ${ONNX_SRCS})
++ set_target_properties(onnx PROPERTIES VERSION ${ONNX_VERSION}
++ SOVERSION ${ONNX_VERSION})
+ endif()
+
+ target_include_directories(onnx PUBLIC
+@@ -606,6 +610,17 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/onnx
+ FILES_MATCHING
+ PATTERN "*.h")
+
++install(DIRECTORY ${ONNX_ROOT}/onnx
++ DESTINATION "${PY_SITEARCH}"
++ FILES_MATCHING
++ PATTERN "*.py"
++ PATTERN "test/*" EXCLUDE )
++install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/onnx
++ DESTINATION "${PY_SITEARCH}"
++ FILES_MATCHING
++ PATTERN "*.py"
++ PATTERN "test/*" EXCLUDE )
++
+ configure_file(
+ ${PROJECT_SOURCE_DIR}/cmake/ONNXConfigVersion.cmake.in
+ ${PROJECT_BINARY_DIR}/ONNXConfigVersion.cmake
+@@ -623,6 +638,9 @@ install(EXPORT ONNXTargets DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ONNX")
+ install(TARGETS
+ onnx onnx_proto
+ EXPORT ONNXTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install(TARGETS
++ onnx_cpp2py_export
++ DESTINATION "${PY_SITEARCH}/onnx")
+
+ if(ONNX_BUILD_TESTS)
+ include(${ONNX_ROOT}/cmake/unittest.cmake)
+--
+2.43.0
+
diff --git a/0001-Add-what-is-missing-to-run-tox-disable-tests-that-re.patch b/0001-Add-what-is-missing-to-run-tox-disable-tests-that-re.patch
new file mode 100644
index 0000000..2df860b
--- /dev/null
+++ b/0001-Add-what-is-missing-to-run-tox-disable-tests-that-re.patch
@@ -0,0 +1,39 @@
+From aeae70249db9f93a6e279277e57fe8192abdf14e Mon Sep 17 00:00:00 2001
+From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
+Date: Sat, 24 Feb 2024 14:48:58 +0100
+Subject: [PATCH 1/6] Add what is missing to run tox, disable tests that
+ require network
+
+---
+ setup.cfg | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index e7d6a67c..7fc228de 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -2,12 +2,19 @@
+ #
+ # SPDX-License-Identifier: Apache-2.0
+
++[tox:tox]
++envlist=py311
++
++[testenv]
++deps=pytest
++commands=pytest
++
+ [aliases]
+ test=pytest
+
+ [tool:pytest]
+-addopts = --nbval --current-env
+-testpaths = onnx/test onnx/examples
++addopts = --ignore=onnx/test/test_backend_test.py --ignore=onnx/test/reference_evaluator_backend_test.py --ignore=onnx/test/test_backend_reference.py --ignore=onnx/test/test_backend_onnxruntime.py --ignore=onnx/test/reference_evaluator_test.py
++testpaths = onnx/test
+
+ [metadata]
+ license_files = LICENSE
+--
+2.43.0
+
diff --git a/0002-Use-system-protobuf-and-require-parameterized.patch b/0002-Use-system-protobuf-and-require-parameterized.patch
new file mode 100644
index 0000000..37ca4fc
--- /dev/null
+++ b/0002-Use-system-protobuf-and-require-parameterized.patch
@@ -0,0 +1,23 @@
+From c473c1da2c99ce46ccd8e23f40b963e36a09b918 Mon Sep 17 00:00:00 2001
+From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
+Date: Sat, 24 Feb 2024 14:52:25 +0100
+Subject: [PATCH 2/6] Use system protobuf and require parameterized
+
+---
+ requirements.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/requirements.txt b/requirements.txt
+index 115d48af..1f63e29e 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,3 +1,5 @@
+ numpy
+-protobuf >= 3.20.2
++protobuf >= 3.14.0, < 4
+ typing-extensions >= 3.6.2.1
++parameterized >= 0.8.1, < 1
++
+--
+2.43.0
+
diff --git a/0003-Let-pyproject_wheel-use-binaries-from-cmake_build.patch b/0003-Let-pyproject_wheel-use-binaries-from-cmake_build.patch
new file mode 100644
index 0000000..e122367
--- /dev/null
+++ b/0003-Let-pyproject_wheel-use-binaries-from-cmake_build.patch
@@ -0,0 +1,34 @@
+From 70163ab2db43137150e4f98448a9215c40da0f27 Mon Sep 17 00:00:00 2001
+From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
+Date: Sat, 24 Feb 2024 14:53:10 +0100
+Subject: [PATCH 3/6] Let pyproject_wheel use binaries from cmake_build
+
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 40b93e3e..3141201b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -25,7 +25,7 @@ import setuptools.command.develop
+ TOP_DIR = os.path.realpath(os.path.dirname(__file__))
+ SRC_DIR = os.path.join(TOP_DIR, "onnx")
+ TP_DIR = os.path.join(TOP_DIR, "third_party")
+-CMAKE_BUILD_DIR = os.path.join(TOP_DIR, ".setuptools-cmake-build")
++CMAKE_BUILD_DIR = os.path.join(TOP_DIR, "redhat-linux-build")
+ PACKAGE_NAME = "onnx"
+
+ WINDOWS = os.name == "nt"
+@@ -147,7 +147,7 @@ class CmakeBuild(setuptools.Command):
+
+ user_options = [("jobs=", "j", "Specifies the number of jobs to use with make")]
+
+- built = False
++ built = True
+
+ def initialize_options(self):
+ self.jobs = None
+--
+2.43.0
+
diff --git a/0004-Add-fixes-for-use-with-onnxruntime.patch b/0004-Add-fixes-for-use-with-onnxruntime.patch
new file mode 100644
index 0000000..0ce7a70
--- /dev/null
+++ b/0004-Add-fixes-for-use-with-onnxruntime.patch
@@ -0,0 +1,68 @@
+From d56561394732a980e2b2d643e323151862ea93ff Mon Sep 17 00:00:00 2001
+From: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
+Date: Sat, 24 Feb 2024 14:53:33 +0100
+Subject: [PATCH 4/6] Add fixes for use with onnxruntime
+
+---
+ onnx/defs/schema.cc | 14 ++++++++++++++
+ onnx/onnxruntime_fix.h | 14 ++++++++++++++
+ 2 files changed, 28 insertions(+)
+ create mode 100644 onnx/onnxruntime_fix.h
+
+diff --git a/onnx/defs/schema.cc b/onnx/defs/schema.cc
+index 9e4fac05..5c46364b 100644
+--- a/onnx/defs/schema.cc
++++ b/onnx/defs/schema.cc
+@@ -17,8 +17,19 @@
+ #include "onnx/common/assertions.h"
+ #include "onnx/common/stl_backports.h"
+ #include "onnx/defs/parser.h"
++#include "onnx/onnxruntime_fix.h"
+
+ namespace ONNX_NAMESPACE {
++
++bool ONNXRuntimeFix::_static_registration_disabled = false;
++bool ONNXRuntimeFix::isStaticRegistrationDisabled() {
++ return _static_registration_disabled;
++}
++
++void ONNXRuntimeFix::disableStaticRegistration() {
++ _static_registration_disabled = true;
++}
++
+ // -1 means ONNX schema hasn't been loaded yet
+ // 0 means all versions of ONNX schema have been loaded
+ // Other positive integer means the ONNX schemas for the specified version have been loaded
+@@ -1061,6 +1072,9 @@ OpName_Domain_Version_Schema_Map& OpSchemaRegistry::map() {
+ class SchemasRegisterer {
+ public:
+ SchemasRegisterer() {
++ // Check if static registration is actually disabled
++ if(ONNXRuntimeFix::isStaticRegistrationDisabled()) return;
++
+ // In debug builds, the number of schema registered in this constructor
+ // is compared against the number of calls to schema registration macros.
+ #ifndef NDEBUG
+diff --git a/onnx/onnxruntime_fix.h b/onnx/onnxruntime_fix.h
+new file mode 100644
+index 00000000..2495b931
+--- /dev/null
++++ b/onnx/onnxruntime_fix.h
+@@ -0,0 +1,14 @@
++#pragma once
++
++namespace ONNX_NAMESPACE {
++
++class ONNXRuntimeFix {
++public:
++ static bool isStaticRegistrationDisabled();
++ static void disableStaticRegistration();
++
++private:
++ static bool _static_registration_disabled;
++};
++
++} // namespace ONNX_NAMESPACE
+--
+2.43.0
+
diff --git a/add-export-protobuf-headers.patch b/add-export-protobuf-headers.patch
deleted file mode 100644
index 11ddc89..0000000
--- a/add-export-protobuf-headers.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/onnx/onnx-ml.pb.h 2023-06-07 14:52:21.479754597 +0000
-+++ b/onnx/onnx-ml.pb.h 2023-06-07 14:51:49.928137757 +0000
-@@ -167,7 +167,7 @@
- constexpr AttributeProto_AttributeType AttributeProto_AttributeType_AttributeType_MAX = AttributeProto_AttributeType_TYPE_PROTOS;
- constexpr int AttributeProto_AttributeType_AttributeType_ARRAYSIZE = AttributeProto_AttributeType_AttributeType_MAX + 1;
-
--const std::string& AttributeProto_AttributeType_Name(AttributeProto_AttributeType value);
-+ONNX_API const std::string& AttributeProto_AttributeType_Name(AttributeProto_AttributeType value);
- template<typename T>
- inline const std::string& AttributeProto_AttributeType_Name(T enum_t_value) {
- static_assert(::std::is_same<T, AttributeProto_AttributeType>::value ||
diff --git a/onnx-install.patch b/onnx-install.patch
deleted file mode 100644
index 7e1a100..0000000
--- a/onnx-install.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-commit 7e128fee37ef418248aee2c2fdd72c2c4eed2cc7
-Author: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
-Date: Thu Dec 8 21:33:23 2022 +0100
-
- Build shared libraries, fix install
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4dd56b6e..7f79cc9a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -367,7 +367,7 @@ list(REMOVE_ITEM __tmp_srcs "${ONNX_ROOT}/onnx/cpp2py_export.cc")
- list(REMOVE_ITEM __tmp_srcs ${onnx_gtests_src})
- list(APPEND ONNX_SRCS ${__tmp_srcs})
-
--add_library(onnx_proto ${ONNX_PROTO_SRCS} ${ONNX_PROTO_HDRS})
-+add_library(onnx_proto SHARED ${ONNX_PROTO_SRCS} ${ONNX_PROTO_HDRS})
- add_dependencies(onnx_proto gen_onnx_operators_proto gen_onnx_data_proto)
- target_include_directories(onnx_proto PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
-@@ -400,6 +400,8 @@ else()
- set(ONNX_API_DEFINE "-DONNX_API=__attribute__\(\(__visibility__\(\"default\"\)\)\)")
- set_target_properties(onnx_proto PROPERTIES CXX_VISIBILITY_PRESET hidden)
- set_target_properties(onnx_proto PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
-+ set_target_properties(onnx_proto PROPERTIES VERSION ${ONNX_VERSION}
-+ SOVERSION ${ONNX_VERSION})
- endif()
- target_compile_definitions(onnx_proto PRIVATE ${ONNX_API_DEFINE})
-
-@@ -423,7 +425,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
- # So, create a object library
- add_library(onnx OBJECT ${ONNX_SRCS})
- else()
-- add_library(onnx ${ONNX_SRCS})
-+ add_library(onnx SHARED ${ONNX_SRCS})
-+ set_target_properties(onnx PROPERTIES VERSION ${ONNX_VERSION}
-+ SOVERSION ${ONNX_VERSION})
- endif()
-
- target_include_directories(onnx PUBLIC
-@@ -606,6 +610,17 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/onnx
- FILES_MATCHING
- PATTERN "*.h")
-
-+install(DIRECTORY ${ONNX_ROOT}/onnx
-+ DESTINATION "${PY_SITEARCH}"
-+ FILES_MATCHING
-+ PATTERN "*.py"
-+ PATTERN "test/*" EXCLUDE )
-+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/onnx
-+ DESTINATION "${PY_SITEARCH}"
-+ FILES_MATCHING
-+ PATTERN "*.py"
-+ PATTERN "test/*" EXCLUDE )
-+
- configure_file(
- ${PROJECT_SOURCE_DIR}/cmake/ONNXConfigVersion.cmake.in
- ${PROJECT_BINARY_DIR}/ONNXConfigVersion.cmake
-@@ -623,6 +638,9 @@ install(EXPORT ONNXTargets DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ONNX")
- install(TARGETS
- onnx onnx_proto
- EXPORT ONNXTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+install(TARGETS
-+ onnx_cpp2py_export
-+ DESTINATION "${PY_SITEARCH}/onnx")
-
- if(ONNX_BUILD_TESTS)
- include(${ONNX_ROOT}/cmake/unittest.cmake)
diff --git a/onnx-requirements.patch b/onnx-requirements.patch
deleted file mode 100644
index 9ec8021..0000000
--- a/onnx-requirements.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-commit 6b23f6b8e2c44053898980b5315af113e3634a79
-Author: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
-Date: Fri Dec 16 22:41:00 2022 +0100
-
- Adapt requirements.txt
-
-diff --git a/requirements.txt b/requirements.txt
-index 115d48af..443d4654 100644
---- a/requirements.txt
-+++ b/requirements.txt
-@@ -1,3 +1,5 @@
- numpy
--protobuf >= 3.20.2
-+protobuf >= 3.14.0, < 4
- typing-extensions >= 3.6.2.1
-+parameterized >= 0.8.1, < 1
-+
diff --git a/onnx-tox.patch b/onnx-tox.patch
deleted file mode 100644
index 10c92a8..0000000
--- a/onnx-tox.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-commit 5ca56e49e6b66cfdec43c82e1e40793e6b8aae21
-Author: Alejandro Alvarez Ayllon <a.alvarezayllon@gmail.com>
-Date: Thu Dec 8 22:26:12 2022 +0100
-
- Fix setup.cfg to run during packaging
-
-diff --git a/setup.cfg b/setup.cfg
-index e7d6a67c..7fc228de 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -2,12 +2,19 @@
- #
- # SPDX-License-Identifier: Apache-2.0
-
-+[tox:tox]
-+envlist=py311
-+
-+[testenv]
-+deps=pytest
-+commands=pytest
-+
- [aliases]
- test=pytest
-
- [tool:pytest]
--addopts = --nbval --current-env
--testpaths = onnx/test onnx/examples
-+addopts = --ignore=onnx/test/test_backend_test.py --ignore=onnx/test/reference_evaluator_backend_test.py --ignore=onnx/test/test_backend_reference.py --ignore=onnx/test/test_backend_onnxruntime.py --ignore=onnx/test/reference_evaluator_test.py
-+testpaths = onnx/test
-
- [metadata]
- license_files = LICENSE
diff --git a/onnx.spec b/onnx.spec
index 44db7ef..7bf4cc8 100644
--- a/onnx.spec
+++ b/onnx.spec
@@ -7,15 +7,15 @@ License: Apache-2.0
URL: https://github.com/onnx/onnx
Source0: https://github.com/onnx/onnx/archive/v%{version}/%{name}-%{version}.tar.gz
# Build shared libraries and fix install location
-Patch0: onnx-install.patch
+Patch0: 0000-Build-shared-libraries-and-fix-install-location.patch
# Add what is missing to run tox, disable tests that require network
-Patch1: onnx-tox.patch
+Patch1: 0001-Add-what-is-missing-to-run-tox-disable-tests-that-re.patch
# Use system protobuf and require parameterized
-Patch2: onnx-requirements.patch
+Patch2: 0002-Use-system-protobuf-and-require-parameterized.patch
# Let pyproject_wheel use binaries from cmake_build
-Patch3: python-cmake-fix.patch
+Patch3: 0003-Let-pyproject_wheel-use-binaries-from-cmake_build.patch
# Add fixes for use with onnxruntime
-Patch4: onnxruntime_fix.patch
+Patch4: 0004-Add-fixes-for-use-with-onnxruntime.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2212096
ExcludeArch: s390x
diff --git a/onnxruntime_fix.patch b/onnxruntime_fix.patch
deleted file mode 100644
index 01a7bf6..0000000
--- a/onnxruntime_fix.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -ruN onnx-1.14.0-orig/onnx/defs/schema.cc onnx-1.14.0/onnx/defs/schema.cc
---- onnx-1.14.0-orig/onnx/defs/schema.cc 2023-08-04 19:00:31.645728197 -0400
-+++ onnx-1.14.0/onnx/defs/schema.cc 2023-09-21 11:42:41.643106838 -0300
-@@ -17,8 +17,19 @@
- #include "onnx/common/assertions.h"
- #include "onnx/common/stl_backports.h"
- #include "onnx/defs/parser.h"
-+#include "onnx/onnxruntime_fix.h"
-
- namespace ONNX_NAMESPACE {
-+
-+bool ONNXRuntimeFix::_static_registration_disabled = false;
-+bool ONNXRuntimeFix::isStaticRegistrationDisabled() {
-+ return _static_registration_disabled;
-+}
-+
-+void ONNXRuntimeFix::disableStaticRegistration() {
-+ _static_registration_disabled = true;
-+}
-+
- // -1 means ONNX schema hasn't been loaded yet
- // 0 means all versions of ONNX schema have been loaded
- // Other positive integer means the ONNX schemas for the specified version have been loaded
-@@ -1061,6 +1072,9 @@
- class SchemasRegisterer {
- public:
- SchemasRegisterer() {
-+ // Check if static registration is actually disabled
-+ if(ONNXRuntimeFix::isStaticRegistrationDisabled()) return;
-+
- // In debug builds, the number of schema registered in this constructor
- // is compared against the number of calls to schema registration macros.
- #ifndef NDEBUG
-diff -ruN onnx-1.14.0-orig/onnx/onnxruntime_fix.h onnx-1.14.0/onnx/onnxruntime_fix.h
---- onnx-1.14.0-orig/onnx/onnxruntime_fix.h 1969-12-31 21:00:00.000000000 -0300
-+++ onnx-1.14.0/onnx/onnxruntime_fix.h 2023-09-21 11:36:58.418240548 -0300
-@@ -0,0 +1,14 @@
-+#pragma once
-+
-+namespace ONNX_NAMESPACE {
-+
-+class ONNXRuntimeFix {
-+public:
-+ static bool isStaticRegistrationDisabled();
-+ static void disableStaticRegistration();
-+
-+private:
-+ static bool _static_registration_disabled;
-+};
-+
-+} // namespace ONNX_NAMESPACE
diff --git a/python-cmake-fix.patch b/python-cmake-fix.patch
deleted file mode 100644
index a2d2127..0000000
--- a/python-cmake-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN onnx-1.14.0-orig/setup.py onnx-1.14.0/setup.py
---- onnx-1.14.0-orig/setup.py 2023-08-04 19:00:31.727728785 -0400
-+++ onnx-1.14.0/setup.py 2023-08-04 21:03:41.810893151 -0400
-@@ -25,7 +25,7 @@
- TOP_DIR = os.path.realpath(os.path.dirname(__file__))
- SRC_DIR = os.path.join(TOP_DIR, "onnx")
- TP_DIR = os.path.join(TOP_DIR, "third_party")
--CMAKE_BUILD_DIR = os.path.join(TOP_DIR, ".setuptools-cmake-build")
-+CMAKE_BUILD_DIR = os.path.join(TOP_DIR, "redhat-linux-build")
- PACKAGE_NAME = "onnx"
-
- WINDOWS = os.name == "nt"
-@@ -147,7 +147,7 @@
-
- user_options = [("jobs=", "j", "Specifies the number of jobs to use with make")]
-
-- built = False
-+ built = True
-
- def initialize_options(self):
- self.jobs = None
reply other threads:[~2026-06-08 15:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178093190050.1.10078785287028617835.rpms-onnx-f138abdfd2bf@fedoraproject.org \
--to=a.alvarezayllon@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox