pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/llvm
Module Name: pkgsrc
Committed By: he
Date: Sun Mar 5 17:26:09 UTC 2023
Modified Files:
pkgsrc/lang/llvm: distinfo
Added Files:
pkgsrc/lang/llvm/patches: patch-lib_Support_BLAKE3-blake3__impl.h
Log Message:
llvm: pull patch for aarch64 big-endian over from rust:
Do not try to use neon on big-endian aarch64, as we have
an #error waiting there.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/llvm/patches/patch-lib_Support_BLAKE3-blake3__impl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.40 pkgsrc/lang/llvm/distinfo:1.41
--- pkgsrc/lang/llvm/distinfo:1.40 Thu Jan 12 19:32:53 2023
+++ pkgsrc/lang/llvm/distinfo Sun Mar 5 17:26:09 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2023/01/12 19:32:53 adam Exp $
+$NetBSD: distinfo,v 1.41 2023/03/05 17:26:09 he Exp $
BLAKE2s (cmake-15.0.7.src.tar.xz) = 2c299f2c58800bcb0c5930562d24baed0e94806df8b8d5295c0866ffeaaf233f
SHA512 (cmake-15.0.7.src.tar.xz) = 85097a6eaee0df004567905f7e5ce8ca02e3b46c6fc66fa552fe99734642e6ee61685de4e5e6e8b505963334d7b91d98ecd9c5870e6bdd3f0018ee5b963ffa96
@@ -11,4 +11,5 @@ SHA1 (patch-cmake_config-ix.cmake) = f5c
SHA1 (patch-cmake_modules_AddLLVM.cmake) = 4e6668e0c3e13423ce3e19304f4ad60f66d41562
SHA1 (patch-include_llvm-c_DataTypes.h) = ff547cae5bdf90c5a1371b9eb196e7537a03b18d
SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 0a8db4d876b749dd492fced6fbc8c4faf3ff2450
+SHA1 (patch-lib_Support_BLAKE3-blake3__impl.h) = 29624dc764c747b247dbde19e9d186a853b59134
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = be0f3fd2a020f634a5f8ec972275e52dc92d36a5
Added files:
Index: pkgsrc/lang/llvm/patches/patch-lib_Support_BLAKE3-blake3__impl.h
diff -u /dev/null pkgsrc/lang/llvm/patches/patch-lib_Support_BLAKE3-blake3__impl.h:1.1
--- /dev/null Sun Mar 5 17:26:09 2023
+++ pkgsrc/lang/llvm/patches/patch-lib_Support_BLAKE3-blake3__impl.h Sun Mar 5 17:26:09 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-lib_Support_BLAKE3-blake3__impl.h,v 1.1 2023/03/05 17:26:09 he Exp $
+
+Pull patch over from rust:
+Do not try to use neon on big-endian aarch64, as we have
+an #error waiting there.
+
+--- lib/Support/BLAKE3/blake3_impl.h.orig 2023-01-12 07:12:30.000000000 +0000
++++ lib/Support/BLAKE3/blake3_impl.h
+@@ -64,7 +64,11 @@ enum blake3_flags {
+ #if !defined(BLAKE3_USE_NEON)
+ // If BLAKE3_USE_NEON not manually set, autodetect based on AArch64ness
+ #if defined(IS_AARCH64)
+- #define BLAKE3_USE_NEON 1
++ #if defined(__ARM_BIG_ENDIAN)
++ #define BLAKE3_USE_NEON 0
++ #else
++ #define BLAKE3_USE_NEON 1
++ #endif
+ #else
+ #define BLAKE3_USE_NEON 0
+ #endif
Home |
Main Index |
Thread Index |
Old Index