-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for P10 using gcc-toolset-12 (#121)
- Loading branch information
1 parent
fa074f0
commit 21dad05
Showing
5 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pytorch-2.0/recipe/0311-Disabled-Wno-error-flag-for-p10.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From b8ee69e58e07023d9ef1c0d15b3d2df2f8626de1 Mon Sep 17 00:00:00 2001 | ||
From: Aman-Surkar <aman_surkar@persistent.com> | ||
Date: Tue, 30 Jan 2024 06:47:01 +0000 | ||
Subject: [PATCH] Disabled--Wno-error-flag-for-p10 | ||
|
||
--- | ||
test/cpp/api/CMakeLists.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/test/cpp/api/CMakeLists.txt b/test/cpp/api/CMakeLists.txt | ||
index 6b801a07318..d65e0c8fc50 100644 | ||
--- a/test/cpp/api/CMakeLists.txt | ||
+++ b/test/cpp/api/CMakeLists.txt | ||
@@ -80,6 +80,7 @@ if(NOT MSVC) | ||
target_compile_options_if_supported(test_api "-Wno-maybe-uninitialized") | ||
# gcc gives nonsensical warnings about variadic.h | ||
target_compile_options_if_supported(test_api "-Wno-unused-but-set-parameter") | ||
+ target_compile_options_if_supported(test_api "-Wno-error=nonnull") | ||
endif() | ||
|
||
if(INSTALL_TEST) | ||
-- | ||
2.40.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters