-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llvm: Re-enable PGO and update build configs
Changes: - Re-enable building LLVM with PGO - Enable perf support in the JIT engine - Build MLIR-C library shared - Install the lld man page - Add "Solus $version-$release" to the Clang version - Disable building libcxx and llvm benchmarks (these weren't installed but were still built previously) - Ensure that the build-id is always set when writing ELF binaries and that it uses 20-byte output by default Signed-off-by: Reilly Brogan <[email protected]>
- Loading branch information
1 parent
26ce950
commit f1378cb
Showing
9 changed files
with
1,331 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
packages/l/llvm/files/0001-Solus-Make-it-easier-to-set-version-from-ypkg.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Reilly Brogan <[email protected]> | ||
Date: Thu, 12 Dec 2024 00:11:00 -0600 | ||
Subject: [PATCH] Solus: Make it easier to set version from ypkg | ||
|
||
ypkg handles escaping quotes very poorly, so let's just do this so we can use a sed to set the version string | ||
|
||
--- | ||
clang/CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt | ||
index c6496167d382..26d023c2aa0c 100644 | ||
--- a/clang/CMakeLists.txt | ||
+++ b/clang/CMakeLists.txt | ||
@@ -278,7 +278,7 @@ set(CLANG_SYSTEMZ_DEFAULT_ARCH "z10" CACHE STRING "SystemZ Default Arch") | ||
set(CLANG_VENDOR ${PACKAGE_VENDOR} CACHE STRING | ||
"Vendor-specific text for showing with version information.") | ||
|
||
-set(CLANG_REPOSITORY_STRING "" CACHE STRING | ||
+set(CLANG_REPOSITORY_STRING "@@SOLUS_VERSION_STRING@@" CACHE STRING | ||
"Vendor-specific text for showing the repository the source is taken from.") | ||
|
||
if(CLANG_REPOSITORY_STRING) |
Oops, something went wrong.