Skip to content

Commit

Permalink
upgpatch: symengine 0.11.1-2
Browse files Browse the repository at this point in the history
Fix rotten
  • Loading branch information
moui0 authored and felixonmars committed Oct 24, 2023
1 parent ced3e11 commit 04f70af
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions symengine/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
--- PKGBUILD
+++ PKGBUILD
@@ -8,8 +8,8 @@ pkgdesc='Fast symbolic manipulation library, written in C++'
url='http://sympy.org/'
arch=(x86_64)
license=(MIT)
-depends=(llvm-libs arb libmpc gmp-ecm primesieve gperftools)
-makedepends=(cmake boost llvm cereal)
+depends=(arb libmpc gmp-ecm primesieve gperftools)
+makedepends=(cmake boost cereal)
@@ -15,13 +15,11 @@ depends=(flint
gmp-ecm
gperftools
libmpc
- llvm-libs
mpfr
primesieve)
makedepends=(boost
cereal
- cmake
- llvm)
+ cmake)
source=(https://github.com/symengine/symengine/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
llvm-shared.patch)
sha256sums=('9c007c99e9633f5549a55fa7a66ebcbcf9e04092eb55f7bb781c22b9cf0570c4'
@@ -20,6 +20,7 @@ prepare() {
llvm-shared.patch
flint-3.patch)
@@ -35,6 +33,7 @@ prepare() {
}

build() {
+ # LLVM's MCJIT doesn't support riscv64
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
@@ -28,7 +29,7 @@ build() {
@@ -43,7 +42,7 @@ build() {
-DWITH_SYMENGINE_THREAD_SAFE=ON \
-DWITH_ARB=ON \
-DWITH_ECM=ON \
Expand Down

0 comments on commit 04f70af

Please sign in to comment.