Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (3874c8de8ce6e514da7f770c9520517bb2463ee0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (3874c8de8ce6e514da7f770c9520517bb2463ee0)
  • Date: Sun, 30 Aug 2026 19:01:33 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/llvm/HISTORY | 4 ++++
devel/llvm/PRE_BUILD | 29 ++++++++++++-----------------
2 files changed, 16 insertions(+), 17 deletions(-)

New commits:
commit 3874c8de8ce6e514da7f770c9520517bb2463ee0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/llvm: simplified PRE_BUILD and
added a fix for slot 22
(incorrect kernel header path)

diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 4c49efc..5755372 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,7 @@
+2026-08-30 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD: removed duplicity, reorganized unpacking, added kernel
header fix
+ for compiler-rt project (slot 22)
+
2026-08-26 Pavel Vinogradov <public AT sourcemage.org>
* SLOTS, DETAILS, WATCH slot 0 is 23.1.0 now,: added slot 22, version
22.1.8
* DEPENDS: slot 22 is offered doxygen too
diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD
index 4f5b8cb..99b62f5 100755
--- a/devel/llvm/PRE_BUILD
+++ b/devel/llvm/PRE_BUILD
@@ -1,8 +1,14 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ "$LLVM_WITH_SPIRV" == y ]]; then
+ unpack_file 33 &&
+ ln -s "../../SPIRV-LLVM-Translator-${SPIRV_VERSION}" llvm/tools/llvm-spirv
+fi &&
+
if [[ $LLVM_LAYOUT == standalone ]]; then
# one tarball holding llvm itself, with the cmake modules it was split
# away from, and polly, laid back beside it
- default_pre_build &&
- cd "$SOURCE_DIRECTORY" &&

if [[ $SLOT == 15 ]]; then
apply_patch_dir patches-llvm15 &&
@@ -19,8 +25,6 @@ if [[ $LLVM_LAYOUT == standalone ]]; then
mv polly-${VERSION}.src tools/polly
fi &&

- cd "$SOURCE_DIRECTORY" &&
-
# small cmake related fix for libffi
if spell_ok libffi;then
FFI=`pkg-config --cflags-only-I libffi` &&
@@ -31,7 +35,6 @@ if [[ $LLVM_LAYOUT == standalone ]]; then

# do not build all backends
sed -i "/^set.*all\"$/s/all//" CMakeLists.txt
- return
fi &&

if [[ $LLVM_LAYOUT == split ]]; then
@@ -117,19 +120,11 @@ if [[ $LLVM_LAYOUT == split ]]; then
if list_find "$LLVM_RUNTIMES" "openmp"; then
unpack_file 29 &&
mv "openmp-${VERSION}.src" openmp
- fi &&
-
- if [[ "$LLVM_WITH_SPIRV" == y ]]; then
- unpack_file 33 &&
- ln -s "../../SPIRV-LLVM-Translator-${SPIRV_VERSION}"
llvm/tools/llvm-spirv
fi
- return
fi &&

-default_pre_build &&
-cd "$SOURCE_DIRECTORY" &&
-
-if [[ "$LLVM_WITH_SPIRV" == y ]]; then
- unpack_file 33 &&
- ln -s "../../SPIRV-LLVM-Translator-${SPIRV_VERSION}" llvm/tools/llvm-spirv
+# fix kernel header path
+if [[ $SLOT == 22 ]] &&
+ list_find "$LLVM_RUNTIMES" "compiler-rt"; then
+ sed "/scc\.h/s;<linux;<uapi/linux;" -i
"${SOURCE_DIRECTORY}/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp"
fi


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (3874c8de8ce6e514da7f770c9520517bb2463ee0), Pavel Vinogradov, 08/30/2026

Archive powered by MHonArc 2.6.24.

Top of Page