sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (41a7b99fa8a4f3bb9d8f1224acf27c8630f3f406)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (41a7b99fa8a4f3bb9d8f1224acf27c8630f3f406)
- Date: Sat, 18 Mar 2023 23:49:59 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
devel/llvm/BUILD | 2
devel/llvm/DETAILS | 2
devel/llvm/HISTORY | 7 +++
devel/llvm/PRE_BUILD | 4 -
devel/llvm/patches-llvm/llvm-001-musl.patch | 58
----------------------------
5 files changed, 11 insertions(+), 62 deletions(-)
New commits:
commit 41a7b99fa8a4f3bb9d8f1224acf27c8630f3f406
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/llvm: version 16.0.0
diff --git a/devel/llvm/BUILD b/devel/llvm/BUILD
index 6df4964..ee023d3 100755
--- a/devel/llvm/BUILD
+++ b/devel/llvm/BUILD
@@ -24,6 +24,6 @@ else
OPTS+=" -DLLVM_ENABLE_RTTI=0"
fi &&
-OPTS+=" -DLLVM_BUILD_BENCHMARKS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF" &&
+OPTS+=" -DLLVM_BUILD_BENCHMARKS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF
-DLLVM_INCLUDE_TESTS=OFF" &&
cmake_build
diff --git a/devel/llvm/DETAILS b/devel/llvm/DETAILS
index 7e86f4e..4fb49bb 100755
--- a/devel/llvm/DETAILS
+++ b/devel/llvm/DETAILS
@@ -1,5 +1,5 @@
SPELL=llvm
- VERSION=15.0.7
+ VERSION=16.0.0
SOURCE="${SPELL}-${VERSION}.src.tar.xz"
SOURCE2=$SOURCE.sig
GITHUB_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-$VERSION"
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 1d32a02..838dfbb 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,10 @@
+2023-03-18 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 16.0.0
+ * BUILD: disabled tests
+ * PRE_BUILD: removed patching from patches-llvm, fixed cmake modules
+ extraction and location
+ * patches-llvm/llvm-001-musl.patch: dropped, no longer applicable
+
2023-01-12 Pavel Vinpgradov <public AT sourcemage.org>
* DETAILS: version 15.0.7
diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD
index e5837fc..d47db4a 100755
--- a/devel/llvm/PRE_BUILD
+++ b/devel/llvm/PRE_BUILD
@@ -1,8 +1,8 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-apply_patch_dir patches-llvm &&
unpack_file 21 &&
-mv cmake-${VERSION}.src/Modules/*cmake cmake &&
+mv cmake-${VERSION}.src/Modules cmake &&
+sed '/LLVM_COMMON_CMAKE_UTILS /s;\.\./;;' -i CMakeLists.txt &&
if [[ "$LLVM_WITH_CLANG" == y ]]; then
unpack_file 5 &&
mv compiler-rt-${VERSION}.src runtimes/compiler-rt &&
diff --git a/devel/llvm/patches-llvm/llvm-001-musl.patch
b/devel/llvm/patches-llvm/llvm-001-musl.patch
deleted file mode 100644
index 3e68f3f..0000000
--- a/devel/llvm/patches-llvm/llvm-001-musl.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From faca3fbd15d0c3108493c3c54cd93138e049ac43 Mon Sep 17 00:00:00 2001
-From: Andrea Brancaleoni <miwaxe AT gmail.com>
-Date: Tue, 8 Sep 2015 22:03:02 +0200
-Subject: [PATCH 3/3] musl
-
-Origin: Void Linux
----
- include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
- lib/Support/DynamicLibrary.cpp | 2 +-
- lib/Support/Unix/Signals.inc | 6 +++---
- utils/unittest/googletest/src/gtest.cc | 1 +
- 5 files changed, 17 insertions(+), 6 deletions(-)
-
-diff --git a/include/llvm/Analysis/TargetLibraryInfo.h
b/include/llvm/Analysis/TargetLibraryInfo.h
-index 34a8a1e3..1214ece5 100644
---- a/include/llvm/Analysis/TargetLibraryInfo.h
-+++ b/include/llvm/Analysis/TargetLibraryInfo.h
-@@ -18,6 +18,15 @@
- #include "llvm/IR/PassManager.h"
- #include "llvm/Pass.h"
-
-+#undef fopen64
-+#undef fseeko64
-+#undef fstat64
-+#undef fstatvfs64
-+#undef ftello64
-+#undef lstat64
-+#undef stat64
-+#undef tmpfile64
-+
- namespace llvm {
- template <typename T> class ArrayRef;
- class Triple;
-diff --git a/lib/Support/Unix/DynamicLibrary.inc
b/lib/Support/Unix/DynamicLibrary.inc
-index a2a37996..2f86c470 100644
---- a/lib/Support/Unix/DynamicLibrary.inc
-+++ b/lib/Support/Unix/DynamicLibrary.inc
-@@ -102,7 +102,7 @@ static void *DoSearch(const char* SymbolName) {
-
- // This macro returns the address of a well-known, explicit symbol
- #define EXPLICIT_SYMBOL(SYM) \
-- if (!strcmp(SymbolName, #SYM)) return &SYM
-+ if (!strcmp(SymbolName, #SYM)) return (void *)&SYM
-
- // Under glibc we have a weird situation. The stderr/out/in symbols are both
- // macros and global variables because of standards requirements. So, we
-diff --git a/utils/unittest/googletest/src/gtest.cc
b/utils/unittest/googletest/src/gtest.cc
-index d882ab2e..f1fb12d0 100644
---- a/utils/unittest/googletest/src/gtest.cc
-+++ b/utils/unittest/googletest/src/gtest.cc
-@@ -128,6 +128,7 @@
-
- #if GTEST_CAN_STREAM_RESULTS_
- # include <arpa/inet.h> // NOLINT
-+# include <sys/socket.h> // NOLINT
- # include <netdb.h> // NOLINT
- # include <sys/socket.h> // NOLINT
- # include <sys/types.h> // NOLINT
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (41a7b99fa8a4f3bb9d8f1224acf27c8630f3f406), Pavel Vinogradov, 03/18/2023
Archive powered by MHonArc 2.6.24.