diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2024-06-20 11:18:33 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2024-06-20 16:41:15 +0900 |
commit | 88484bd5fd73e91114aa8c9a6186be3f37b1d6d3 (patch) | |
tree | d400cc99008997d8dac2d3c841c0c23deac30fa2 | |
parent | 6d9c49450cdcd4ed6256f81e690f5201f714634d (diff) | |
download | pytorch-tizen.tar.gz pytorch-tizen.tar.bz2 pytorch-tizen.zip |
[Spec] Fixed the build error for gcc-14tizen_9.0_m2_releaseaccepted/tizen/unified/dev/20240701.073115accepted/tizen/unified/20240624.104739accepted/tizen/9.0/unified/20241030.232535tizen_9.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
This patch fixes the build error for gcc-v14.
Change-Id: I2c5ef048470a882c703e4ea6e82ccfd17b4e6f49
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r-- | packaging/pytorch.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/pytorch.spec b/packaging/pytorch.spec index 77c2975ea1..6273c37782 100644 --- a/packaging/pytorch.spec +++ b/packaging/pytorch.spec @@ -120,8 +120,8 @@ export PYTHONPATH="$PYTHONPATH:./packaging/python_module" mkdir -p build pushd build alias python=python3 -CFLAGS=`echo $CFLAGS | sed -e "s|-Wall|-Wall -Wno-unused-function -Wno-array-parameter -Wno-missing-braces -Wno-nonnull|"` -CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Wall|-Wall -Wno-unused-function -Wno-array-parameter -Wno-missing-braces -Wno-nonnull|"` +CFLAGS=`echo $CFLAGS | sed -e "s|-Wall|-Wall -Wno-unused-function -Wno-missing-braces -Wno-nonnull -Wno-tautological-compare -Wno-incompatible-pointer-types|g"` +CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Wall|-Wall -Wno-unused-function -Wno-missing-braces -Wno-nonnull -Wno-tautological-compare|g"` cmake .. \ -DCMAKE_INSTALL_PREFIX=./install \ -DCMAKE_VERBOSE_MAKEFILE=1 \ |