diff options
author | techchud <protrude_paying969@simplelogin.com> | 2025-08-17 19:24:07 -0500 |
---|---|---|
committer | techchud <protrude_paying969@simplelogin.com> | 2025-08-17 19:24:07 -0500 |
commit | b2d86632ac6abf4ee7ed05c27cc18989e5d27915 (patch) | |
tree | fb397b181178a713009c27dede3783cb7b56b779 /amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch | |
parent | 77d9ffffe9a59ad4decdaf2fadb1778e866d36f0 (diff) | |
download | guix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.tar.gz guix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.tar.bz2 guix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.zip |
import guix-hpc amd modules and add gfx1100 support
Diffstat (limited to 'amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch')
-rw-r--r-- | amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch b/amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch new file mode 100644 index 0000000..44f9969 --- /dev/null +++ b/amd/packages/patches/tensile-5.3.3-copy-if-not-exist.patch @@ -0,0 +1,19 @@ +Only copy static files if they do not already exist at the destination +diff --git a/Tensile/TensileCreateLibrary.py b/Tensile/TensileCreateLibrary.py +index 2d63160b..a7ccf268 100644 +--- a/Tensile/TensileCreateLibrary.py ++++ b/Tensile/TensileCreateLibrary.py +@@ -738,8 +738,11 @@ def copyStaticFiles(outputPath=None): + + for fileName in libraryStaticFiles: + # copy file +- shutil.copy( os.path.join(globalParameters["SourcePath"], fileName), \ +- outputPath ) ++ ++ path = os.path.join(globalParameters["SourcePath"], fileName) ++ if not os.path.isfile(path): ++ shutil.copy( os.path.join(globalParameters["SourcePath"], fileName), \ ++ outputPath ) + + return libraryStaticFiles + |