From owner-svn-ports-all@freebsd.org Tue May 15 20:43:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7852EADE65; Tue, 15 May 2018 20:43:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 507027E09C; Tue, 15 May 2018 20:43:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3321810924; Tue, 15 May 2018 20:43:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4FKhBrG085819; Tue, 15 May 2018 20:43:11 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4FKhBrW085818; Tue, 15 May 2018 20:43:11 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201805152043.w4FKhBrW085818@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 15 May 2018 20:43:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470055 - head/math/ceres-solver X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/math/ceres-solver X-SVN-Commit-Revision: 470055 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 20:43:11 -0000 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@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