svn commit: r470055 - head/math/ceres-solver
Jan Beich
jbeich at FreeBSD.org
Tue May 15 20:43:11 UTC 2018
Author: jbeich
Date: Tue May 15 20:43:10 2018
New Revision: 470055
URL: https://svnweb.freebsd.org/changeset/ports/470055
Log:
math/ceres-solver: unbreak ATLAS=on after r465553
When math/suitesparse has OPENBLAS=on:
-- Found BLAS: /usr/local/lib/libopenblas.so
-- Found LAPACK library: alapack
[...]
0x0000000000000001 NEEDED Shared library: [libalapack.so.2]
0x0000000000000001 NEEDED Shared library: [libopenblas.so.0]
When math/suitesparse has ATLAS=on:
-- Found BLAS: /usr/local/lib/libf77blas.so;/usr/local/lib/libatlas.so
-- Found LAPACK library: alapack
[...]
//usr/local/lib/libalapack.so.2: undefined reference to `cblas_izamax'
//usr/local/lib/libalapack.so.2: undefined reference to `cblas_sswap'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Pointy hat to: jbeich
Modified:
head/math/ceres-solver/Makefile (contents, props changed)
Modified: head/math/ceres-solver/Makefile
==============================================================================
--- head/math/ceres-solver/Makefile Tue May 15 20:42:51 2018 (r470054)
+++ head/math/ceres-solver/Makefile Tue May 15 20:43:10 2018 (r470055)
@@ -2,7 +2,7 @@
PORTNAME= ceres-solver
DISTVERSION= 1.14.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MAINTAINER= jbeich at FreeBSD.org
@@ -76,7 +76,8 @@ LAPACK_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING
# https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded
ATLAS_USES= blaslapack:atlas
ATLAS_CMAKE_ON= -DBLA_VENDOR:STRING="ATLAS" \
- -DLAPACK_LIBRARIES:STRING=alapack
+ -DBLAS_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libcblas.so" \
+ -DLAPACK_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libalapack.so"
ATLAS_IMPLIES= LAPACK
GOTOBLAS_DESC= Goto blas implementation
GOTOBLAS_USES= blaslapack:gotoblas
More information about the svn-ports-all
mailing list