summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-08-28 03:47:50 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-08-28 03:56:58 +0200
commit64d9c9ea8fa22a2160a4479c940bcc691f322d33 (patch)
treeee41224786ce1ecd176cabbdff87b21a14990b8b /dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch
parentx11-libs/libXi: Version bump to 1.7.99.2 (diff)
downloadgentoo-64d9c9ea8fa22a2160a4479c940bcc691f322d33.tar.gz
gentoo-64d9c9ea8fa22a2160a4479c940bcc691f322d33.tar.bz2
gentoo-64d9c9ea8fa22a2160a4479c940bcc691f322d33.zip
dev-util/intel-graphics-compiler: update llvm handling
The current llvm handling was broken and the wrong cmake variables were used to setup the toolchain, which has been now corrected. Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch')
-rw-r--r--dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch
new file mode 100644
index 000000000000..4a9a8988c5b4
--- /dev/null
+++ b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-disable-git.patch
@@ -0,0 +1,37 @@
+From d0f801a178755504c2f8956841823b2aa6a124c4 Mon Sep 17 00:00:00 2001
+From: Conrad Kostecki <conikost@gentoo.org>
+Date: Sat, 28 Aug 2021 00:57:59 +0200
+Subject: [PATCH] IGC: CMakeLists: drop git
+
+Dropping git, as we don't have any git release.
+
+Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
+---
+ visa/iga/IGALibrary/CMakeLists.txt | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/visa/iga/IGALibrary/CMakeLists.txt b/visa/iga/IGALibrary/CMakeLists.txt
+index 061476d94..2fd44807c 100644
+--- a/visa/iga/IGALibrary/CMakeLists.txt
++++ b/visa/iga/IGALibrary/CMakeLists.txt
+@@ -14,17 +14,6 @@ set(CMAKE_CXX_STANDARD 14)
+
+ ##############################################
+ # compute the version string from the git repo
+-execute_process(
+- COMMAND git rev-parse --short HEAD
+- OUTPUT_VARIABLE GIT_COMMIT
+- OUTPUT_STRIP_TRAILING_WHITESPACE
+- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
+-#
+-execute_process(
+- COMMAND git diff-index --quiet HEAD --
+- RESULT_VARIABLE GIT_DIRTY
+- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
+-
+ set(IGA_VERSION_SUFFIX "")
+ if(GIT_COMMIT)
+ set(IGA_VERSION_DIRTY_TAG "")
+--
+2.33.0
+