sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Justin Boffemmyer (7794bc72d012594e85b2a399482d27e58d808cba)
- From: Justin Boffemmyer <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 Justin Boffemmyer (7794bc72d012594e85b2a399482d27e58d808cba)
- Date: Sat, 4 Jan 2025 19:42:47 +0000
GIT changes to master grimoire by Justin Boffemmyer <flux AT sourcemage.org>:
devel/llvm/BUILD |
11 ++-
devel/llvm/HISTORY |
5 +
devel/llvm/patches-lld/0001-Include-libunwind-from-source-directory.patch |
28 ----------
3 files changed, 13 insertions(+), 31 deletions(-)
New commits:
commit 7794bc72d012594e85b2a399482d27e58d808cba
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
devel/llvm: optimize build stage
Reduce build times by pruning more benchmarking and test targets.
Remove a patch that is no longer needed now that the build directories
are restructured.
diff --git a/devel/llvm/BUILD b/devel/llvm/BUILD
index 8a78a0b..bce3ce4 100755
--- a/devel/llvm/BUILD
+++ b/devel/llvm/BUILD
@@ -41,7 +41,9 @@ if [[ "$LLVM_WITH_BOLT" == y ]] ;then
fi &&
if [[ "$LLVM_WITH_CLANG" == y ]] ;then
- OPTS="$OPTS -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=ON"
+ OPTS="$OPTS -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=ON" &&
+ OPTS="$OPTS -DCLANG_INCLUDE_BENCHMARKS=OFF"
+ OPTS="$OPTS -DCLANG_INCLUDE_TESTS=OFF"
fi &&
if [[ "$LLVM_WITH_LLD" == y ]] ;then
@@ -50,10 +52,12 @@ fi &&
if [[ "$LLVM_WITH_LLDB" == y ]] ;then
OPTS="$OPTS -DLLVM_TOOL_LLDB_BUILD=ON"
+ OPTS="$OPTS -DLLDB_INCLUDE_TESTS=OFF" &&
fi &&
if [[ "$LLVM_WITH_MLIR" == y ]] ;then
- OPTS="$OPTS -DLLVM_TOOL_MLIR_BUILD=ON"
+ OPTS="$OPTS -DLLVM_TOOL_MLIR_BUILD=ON" &&
+ OPTS="$OPTS -DMLIR_ENABLE_PYTHON_BENCHMARKS=OFF"
fi &&
if [[ "$LLVM_WITH_POLLY" == y ]] ;then
@@ -64,7 +68,8 @@ fi &&
OPTS="$OPTS -DLLVM_ENABLE_RUNTIMES=${LLVM_RUNTIMES// /;}" &&
if list_find "$LLVM_RUNTIMES" "compiler-rt" ;then
- OPTS="$OPTS -DLLVM_TOOL_COMPILER_RT_BUILD=ON"
+ OPTS="$OPTS -DLLVM_TOOL_COMPILER_RT_BUILD=ON" &&
+ OPTS="$OPTS -DCOMPILER_RT_INCLUDE_TESTS=OFF"
fi &&
if list_find "$LLVM_RUNTIMES" "libcxx" ;then
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 9e841f9..b964435 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,8 @@
+2025-01-05 Jutsin Boffemmyer <flux AT sourcemage.org>
+ * BUILD: optimize build by removing more benchmarks and tests
+ * patches-lld/0001-Include-libunwind-from-source-directory.patch:
+ removed, no longer needed
+
2025-01-04 Jutsin Boffemmyer <flux AT sourcemage.org>
* BUILD,DETAILS,PREPARE,PRE_BUILD: fix, restructure, add some missing
supported features
diff --git
a/devel/llvm/patches-lld/0001-Include-libunwind-from-source-directory.patch
b/devel/llvm/patches-lld/0001-Include-libunwind-from-source-directory.patch
deleted file mode 100644
index f33f200..0000000
---
a/devel/llvm/patches-lld/0001-Include-libunwind-from-source-directory.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 2cf2b1af0f0be6431c1e239d482056ef4d4ac17f Mon Sep 17 00:00:00 2001
-From: Florian Franzmann <Florian.Franzmann AT bandrate.org>
-Date: Sun, 2 May 2021 13:24:21 +0200
-Subject: [PATCH] Include libunwind from source directory
-
-Ref: https://groups.google.com/g/llvm-dev/c/gIY5COm6V5E
-Upstream-Status: Unknown [should have been fixed in LLZM 12.0.1;
- as of LLVM 16.0.0 this has not been fixed.]
----
- tools/lld/MachO/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/lld/MachO/CMakeLists.txt b/tools/lld/MachO/CMakeLists.txt
-index b76f37dcc6e6..69ca3fc6de67 100644
---- a/tools/lld/MachO/CMakeLists.txt
-+++ b/tools/lld/MachO/CMakeLists.txt
-@@ -2,7 +2,7 @@ set(LLVM_TARGET_DEFINITIONS Options.td)
- tablegen(LLVM Options.inc -gen-opt-parser-defs)
- add_public_tablegen_target(MachOOptionsTableGen)
-
--include_directories(${LLVM_MAIN_SRC_DIR}/../libunwind/include)
-+include_directories(${LLVM_MAIN_SRC_DIR}/libunwind/include)
-
- add_lld_library(lldMachO2
- Arch/X86_64.cpp
---
-2.31.1
-
- [[SM-Commit] ] GIT changes to master grimoire by Justin Boffemmyer (7794bc72d012594e85b2a399482d27e58d808cba), Justin Boffemmyer, 01/04/2025
Archive powered by MHonArc 2.6.24.