Revert "[gn build] Guard the BLAKE3 assembly sources with platform"#185077
Merged
Revert "[gn build] Guard the BLAKE3 assembly sources with platform"#185077
Conversation
Member
|
@llvm/pr-subscribers-llvm-support Author: Arthur Eubanks (aeubanks) ChangesReverts llvm/llvm-project#70110 Breaks gn build Full diff: https://github.com/llvm/llvm-project/pull/185077.diff 1 Files Affected:
diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
index 18f382ea3086c..e980be728ed4e 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Support/BLAKE3/BUILD.gn
@@ -15,23 +15,16 @@ static_library("BLAKE3") {
]
}
-if (current_cpu == "x64") {
- source_set("hack") {
- sources = [ "blake3_neon.c " ]
- if (current_os == "linux") {
- sources += [
- "blake3_avx2_x86-64_unix.S",
- "blake3_avx512_x86-64_unix.S",
- "blake3_sse2_x86-64_unix.S",
- "blake3_sse41_x86-64_unix.S",
- ]
- } else if (current_os == "win") {
- sources += [
- "blake3_avx2_x86-64_windows_gnu.S",
- "blake3_avx512_x86-64_windows_gnu.S",
- "blake3_sse2_x86-64_windows_gnu.S",
- "blake3_sse41_x86-64_windows_gnu.S",
- ]
- }
- }
+source_set("hack") {
+ sources = [
+ "blake3_avx2_x86-64_unix.S",
+ "blake3_avx2_x86-64_windows_gnu.S",
+ "blake3_avx512_x86-64_unix.S",
+ "blake3_avx512_x86-64_windows_gnu.S",
+ "blake3_neon.c",
+ "blake3_sse2_x86-64_unix.S",
+ "blake3_sse2_x86-64_windows_gnu.S",
+ "blake3_sse41_x86-64_unix.S",
+ "blake3_sse41_x86-64_windows_gnu.S",
+ ]
}
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #70110
Breaks gn build