Commit Graph

17 Commits

Author SHA1 Message Date
Gabriel Ebner
1c576d0b37 sage: use jdk8 2020-09-19 14:22:43 +02:00
Matthew Bauer
ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Timo Kaufmann
f64885b9ca sage: fix pkgconfig errors in tests
python.pkgs.pkgconfig raises an exception on missing packages since
version 1.5.0. Previously those errors were just silently ignored. That
worked fine, since the packages are only missing at runtime (when they
are not really needed) but present at buildtime.

Since this fails the tests now, we just add the packages to
PKG_CONFIG_PATH at runtime. This does not add additional runtime
dependencies. Still, it would be nicer if the sage testssuite would not
test the buildsystem at runtime in the first place.

The breakage was originally caused by the pkgconfig update in
1efa71616f.
2019-11-06 14:40:13 +01:00
Timo Kaufmann
cbe12344ca sage: add pager to environment
Temporary fixup while waiting for an upstream fix.
2019-09-23 15:14:43 +02:00
Timo Kaufmann
e379ee67c3 sage: 8.5 -> 8.6 2019-01-17 20:39:02 +01:00
Timo Kaufmann
22c16ed300 Merge remote-tracking branch 'upstream/master' into sage-8.5 2018-12-29 12:16:02 +01:00
Timo Kaufmann
95909d4fb6 Revert "sage: preload openblasCompat"
This reverts commit 4900bbee17.

The issue that was supposed to fix is now fixed by lazy-loading rpy2 and
makign sure scipy is loaded before that.
That is not quite as nice, but preloading is now causing its own issues
with openblas 0.3.4:
https://github.com/xianyi/OpenBLAS/issues/1936
2018-12-28 23:06:05 +01:00
Timo Kaufmann
0e570199de sage: fix jmol integration 2018-12-01 21:31:29 +01:00
Timo Kaufmann
4900bbee17 sage: preload openblasCompat 2018-11-28 20:44:09 +01:00
Timo Kaufmann
7ca2915a50 sage: 8.5.beta4 -> 8.5.beta5 2018-11-27 18:26:16 +01:00
Timo Kaufmann
21f9123ea6 sage: remove openblas hack
The pc files have since been included into the openblas package.
2018-11-24 23:14:38 +01:00
Timo Kaufmann
3832ddedb9 sage: refactor 2018-11-24 23:14:33 +01:00
Timo Kaufmann
db784d883c sage: re-add pkg-config aliases
Those were removed because they were added to openblas itself. There was
an error with that however and it will take some time until the fix
makes its way through staging. For the time being, reverting this part
of 26d5d030fe will fix the sage build.
This commit should be reverted once
408eacbc89 is in master.
2018-09-07 21:55:41 +02:00
Timo Kaufmann
26d5d030fe openblas: add pkg-config aliases 2018-08-21 16:39:57 +02:00
Timo Kaufmann
17e6b391eb sage: 8.1 -> 8.2, use system packages 2018-06-30 01:21:31 +02:00