-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update libjulia 1.12.0-DEV to latest master (#9331)
There were several breaking kernel API changes Also update 1.11 to 1.11.0-rc3 Co-authored-by: Benjamin Lorenz <lorenz@math.tu-berlin.de>
- Loading branch information
Showing
6 changed files
with
90 additions
and
92 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
38 changes: 0 additions & 38 deletions
38
L/libjulia/bundled/patches/1.11.0-rc1/loader_trampolines.patch
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
L/libjulia/bundled/patches/1.11.0-rc3/bf16-workaround.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,29 @@ | ||
From 9e4740467d9597bde827aa93b50fa1a52d80513f Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <max@quendi.de> | ||
Date: Tue, 3 Sep 2024 09:55:42 +0200 | ||
Subject: [PATCH] Workaround linker error on macOS about missing __truncsfbf2 | ||
|
||
Since for libjulia_jll we only care about the kernel API/ABI, | ||
and this does not seem to affect it, just turn off the user of | ||
the __bf16 type. | ||
|
||
For details see Julia issue #52067 | ||
--- | ||
src/runtime_intrinsics.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/runtime_intrinsics.c b/src/runtime_intrinsics.c | ||
index db4007d320..e3448e2e2f 100644 | ||
--- a/src/runtime_intrinsics.c | ||
+++ b/src/runtime_intrinsics.c | ||
@@ -355,6 +355,7 @@ float julia_bfloat_to_float(uint16_t param) { | ||
#if ((defined(__GNUC__) && __GNUC__ > 12) || \ | ||
(defined(__clang__) && __clang_major__ > 16)) && \ | ||
!defined(_CPU_PPC64_) && !defined(_CPU_PPC_) && \ | ||
+ !(defined(_CPU_X86_64_) && defined(_OS_DARWIN_)) && \ | ||
!defined(_OS_WINDOWS_) | ||
#define BFLOAT16_TYPE __bf16 | ||
#define BFLOAT16_TO_UINT16(x) (*(uint16_t*)&(x)) | ||
-- | ||
2.46.0 | ||
|
29 changes: 29 additions & 0 deletions
29
L/libjulia/bundled/patches/1.12.0-DEV/bf16-workaround.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,29 @@ | ||
From 9e4740467d9597bde827aa93b50fa1a52d80513f Mon Sep 17 00:00:00 2001 | ||
From: Max Horn <max@quendi.de> | ||
Date: Tue, 3 Sep 2024 09:55:42 +0200 | ||
Subject: [PATCH] Workaround linker error on macOS about missing __truncsfbf2 | ||
|
||
Since for libjulia_jll we only care about the kernel API/ABI, | ||
and this does not seem to affect it, just turn off the user of | ||
the __bf16 type. | ||
|
||
For details see Julia issue #52067 | ||
--- | ||
src/runtime_intrinsics.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/runtime_intrinsics.c b/src/runtime_intrinsics.c | ||
index db4007d320..e3448e2e2f 100644 | ||
--- a/src/runtime_intrinsics.c | ||
+++ b/src/runtime_intrinsics.c | ||
@@ -355,6 +355,7 @@ float julia_bfloat_to_float(uint16_t param) { | ||
#if ((defined(__GNUC__) && __GNUC__ > 12) || \ | ||
(defined(__clang__) && __clang_major__ > 16)) && \ | ||
!defined(_CPU_PPC64_) && !defined(_CPU_PPC_) && \ | ||
+ !(defined(_CPU_X86_64_) && defined(_OS_DARWIN_)) && \ | ||
!defined(_OS_WINDOWS_) | ||
#define BFLOAT16_TYPE __bf16 | ||
#define BFLOAT16_TO_UINT16(x) (*(uint16_t*)&(x)) | ||
-- | ||
2.46.0 | ||
|
38 changes: 0 additions & 38 deletions
38
L/libjulia/bundled/patches/1.12.0-DEV/loader_trampolines.patch
This file was deleted.
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