Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3ad7789

Browse files
authoredOct 10, 2024
addpatch: openlibm, ver=0.8.3
JuliaMath/openlibm#308
1 parent 32c7ac7 commit 3ad7789

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎openlibm/loong.patch

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/PKGBUILD b/PKGBUILD
2+
index 1b43b80..415ca84 100644
3+
--- a/PKGBUILD
4+
+++ b/PKGBUILD
5+
@@ -17,6 +17,7 @@ sha256sums=('f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845')
6+
prepare() {
7+
cd $pkgname
8+
sed -e 's|/usr/local|/usr|' -i Make.inc
9+
+ patch -Np1 -d . -i ../308.patch
10+
}
11+
12+
build() {
13+
@@ -24,6 +25,9 @@ build() {
14+
make prefix=/usr
15+
}
16+
17+
+source+=(https://github.com/JuliaMath/openlibm/pull/308.patch)
18+
+sha256sums+=('83bc92143076abf05e7894c0a4895f2cb7d4897744dc16cd7d671e44932701b5')
19+
+
20+
package() {
21+
cd $pkgname
22+
make DESTDIR="$pkgdir" install

0 commit comments

Comments
 (0)
Please sign in to comment.