extra/openlibm to 0.8.2-1

This commit is contained in:
Kevin Mihelich 2024-02-18 19:33:06 +00:00
parent 072556ad5f
commit 99427d6f16
4 changed files with 26 additions and 9 deletions

12
extra/openlibm/.SRCINFO Normal file
View file

@ -0,0 +1,12 @@
pkgbase = openlibm
pkgdesc = Standalone implementation of C mathematical functions
pkgver = 0.8.2
pkgrel = 1
url = https://openlibm.org/
arch = x86_64
license = BSD
depends = glibc
source = https://github.com/JuliaLang/openlibm/archive/v0.8.2/openlibm-0.8.2.tar.gz
sha256sums = 7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d
pkgname = openlibm

View file

@ -0,0 +1,5 @@
[openlibm]
source = 'github'
github = 'JuliaMath/openlibm'
use_max_tag = true
prefix = 'v'

View file

@ -1,4 +1,4 @@
From 53a4684ea8194e7766a5e5f624b28876e09710d5 Mon Sep 17 00:00:00 2001
From 67a4b80e80ffa30d8bca1087ce0cf5e92a85e093 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 6 Dec 2019 06:42:03 -0700
Subject: [PATCH] Remove ARM march and float specification
@ -8,18 +8,18 @@ Subject: [PATCH] Remove ARM march and float specification
1 file changed, 2 deletions(-)
diff --git a/Make.inc b/Make.inc
index 34888d2..a3c43ae 100644
index 7612499..52ffda2 100644
--- a/Make.inc
+++ b/Make.inc
@@ -57,8 +57,6 @@ endif
# OS-specific stuff
@@ -67,8 +67,6 @@ override ARCH := aarch64
endif
ifeq ($(findstring arm,$(ARCH)),arm)
override ARCH := arm
-MARCH ?= armv7-a
-MARCH ?= armv7-a+fp
-CFLAGS_add += -mhard-float
endif
ifeq ($(findstring powerpc,$(ARCH)),powerpc)
override ARCH := powerpc
--
2.23.0
2.36.1

View file

@ -6,7 +6,7 @@
# - patch out hard ARM march and float specification
pkgname=openlibm
pkgver=0.8.1
pkgver=0.8.2
pkgrel=1
pkgdesc='Standalone implementation of C mathematical functions'
arch=(x86_64)
@ -15,8 +15,8 @@ license=(BSD)
depends=(glibc)
source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz
'0001-Remove-ARM-march-and-float-specification.patch')
sha256sums=('ba8a282ecd92d0033f5656bb20dfc6ea3fb83f90ba69291ac8f7beba42dcffcf'
'2b16d1e852a88bc6d31e9b25ed60b1a374f46b2034ce3449c2b8dafc6d2007c9')
sha256sums=('7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d'
'1d8a5781bf7d87ae955b7c4c88f76c523eb30a9f0d057be223323cae578da31c')
prepare() {
cd $pkgname-$pkgver