From owner-svn-ports-all@freebsd.org Tue May 15 20:54:03 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 79009EAE762; Tue, 15 May 2018 20:54:03 +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 26939803B8; Tue, 15 May 2018 20:54:03 +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 07C0410AC0; Tue, 15 May 2018 20:54:03 +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 w4FKs2jl091008; Tue, 15 May 2018 20:54:02 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4FKs2qs091007; Tue, 15 May 2018 20:54:02 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201805152054.w4FKs2qs091007@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:54:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470056 - head/math/ceres-solver/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/math/ceres-solver/files X-SVN-Commit-Revision: 470056 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:54:03 -0000 Author: jbeich Date: Tue May 15 20:54:02 2018 New Revision: 470056 URL: https://svnweb.freebsd.org/changeset/ports/470056 Log: math/ceres-solver: unbreak TBB=on (r470052 didn't help) In file included from internal/ceres/block_random_access_dense_matrix.cc:31: In file included from internal/ceres/block_random_access_dense_matrix.h:34: In file included from internal/ceres/block_random_access_matrix.h:36: In file included from internal/ceres/mutex.h:98: include/ceres/internal/port.h:56:4: error: One of CERES_USE_OPENMP, CERES_USE_TBB,CERES_USE_CXX11_THREADS or CERES_NO_THREADS must be defined. # error One of CERES_USE_OPENMP, CERES_USE_TBB,CERES_USE_CXX11_THREADS or CERES_NO_THREADS must be defined. ^ Pointy hat to: jbeich Modified: head/math/ceres-solver/files/patch-CMakeLists.txt (contents, props changed) Modified: head/math/ceres-solver/files/patch-CMakeLists.txt ============================================================================== --- head/math/ceres-solver/files/patch-CMakeLists.txt Tue May 15 20:43:10 2018 (r470055) +++ head/math/ceres-solver/files/patch-CMakeLists.txt Tue May 15 20:54:02 2018 (r470056) @@ -7,7 +7,7 @@ https://github.com/ceres-solver/ceres-solver/issues/35 # -std=c++11 s/t we will detect the C++11 versions of unordered_map & # shared_ptr if they exist. - set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -std=c++11") -+ set(CMAKE_CXX_STANDARD 11) ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") endif (CXX11 AND COMPILER_HAS_CXX11_FLAG) # Set the Ceres compile definitions for the unordered_map configuration.