New package: linbox-1.6.3
This commit is contained in:
parent
9954fc0442
commit
578d045e71
4 changed files with 72 additions and 0 deletions
|
@ -4000,6 +4000,7 @@ libsimavr.so.1 simavr-1.6_2
|
|||
libsimavrparts.so.1 simavr-1.6_2
|
||||
libsword-1.8.1.so libsword-1.8.1_6
|
||||
libgivaro.so.9 givaro-4.1.1_1
|
||||
liblinbox.so.0 linbox-1.6.3_1
|
||||
libpari-gmp.so.7 pari-2.13.0_1
|
||||
libpari-gmp-tls.so.7 pari-2.13.2_1
|
||||
libtree-sitter.so.0 tree-sitter-0.19.0_1
|
||||
|
|
1
srcpkgs/linbox-devel
Symbolic link
1
srcpkgs/linbox-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
linbox
|
|
@ -0,0 +1,35 @@
|
|||
From 892f8adade10641f1f04f04b589753d928fb5443 Mon Sep 17 00:00:00 2001
|
||||
From: Doug Torrance <dtorrance@piedmont.edu>
|
||||
Date: Sun, 9 May 2021 12:14:19 -0400
|
||||
Subject: [PATCH] Use std::ptrdiff_t for vector iterator difference type
|
||||
|
||||
It was previously long (64-bit integers), but this will not be the
|
||||
case on 32-bit systems.
|
||||
|
||||
Closes: #273
|
||||
---
|
||||
linbox/vector/bit-vector.inl | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/linbox/vector/bit-vector.inl b/linbox/vector/bit-vector.inl
|
||||
index 5fa84b421..23a22ba47 100644
|
||||
--- a/linbox/vector/bit-vector.inl
|
||||
+++ b/linbox/vector/bit-vector.inl
|
||||
@@ -46,7 +46,7 @@ namespace std
|
||||
typedef LinBox::BitVector::reference reference;
|
||||
typedef bool *pointer;
|
||||
typedef bool value_type;
|
||||
- typedef long difference_type;
|
||||
+ typedef std::ptrdiff_t difference_type;
|
||||
};
|
||||
|
||||
template <>
|
||||
@@ -56,7 +56,7 @@ namespace std
|
||||
typedef LinBox::BitVector::const_reference reference;
|
||||
typedef const bool *pointer;
|
||||
typedef bool value_type;
|
||||
- typedef long difference_type;
|
||||
+ typedef std::ptrdiff_t difference_type;
|
||||
};
|
||||
}
|
||||
|
35
srcpkgs/linbox/template
Normal file
35
srcpkgs/linbox/template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'linbox'
|
||||
pkgname=linbox
|
||||
version=1.6.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="fflas-ffpack"
|
||||
short_desc="C++ library for exact, high-performance linear algebra"
|
||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://linalg.org"
|
||||
distfiles="https://github.com/linbox-team/linbox/releases/download/v${version}/linbox-${version}.tar.gz"
|
||||
checksum=a58a188307b07c57964e844bceb99321d3043a8a4a1fccc082a54928bb9a0057
|
||||
nocross=yes
|
||||
|
||||
build_options="native_build"
|
||||
|
||||
if [ -z "$build_option_native_build" ]; then
|
||||
configure_args="--enable-sse --enable-sse2
|
||||
--disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42
|
||||
--disable-avx --disable-avx2 --disable-fma --disable-fma4"
|
||||
fi
|
||||
|
||||
linbox-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/bin
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue