[compute] 24/46: Fix Boost.Test link error in test/Jamfile.v2

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Dec 21 18:28:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository compute.

commit aed377d6d8e1eed2dfffe5f04874ecb9fdaefb87
Author: Kyle Lutz <kyle.r.lutz at gmail.com>
Date:   Mon Oct 19 20:00:46 2015 -0700

    Fix Boost.Test link error in test/Jamfile.v2
---
 test/Jamfile.v2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/Jamfile.v2 b/test/Jamfile.v2
index fbe54e2..5d02400 100644
--- a/test/Jamfile.v2
+++ b/test/Jamfile.v2
@@ -6,13 +6,12 @@ import testing ;
 
 lib boost_unit_test_framework ;
 
-project boost/compute/test
+project
     : source-location .
     : requirements
-        <include>.
-        <include>../include
-        <define>BOOST_TEST_DYN_LINK
-        <linkflags>"-lboost_unit_test_framework"
+        <define>BOOST_ALL_NO_LIB=1
+        <cxxflags>-Wno-deprecated-declarations
+        <library>/boost/test//boost_unit_test_framework
     ;
 
 rule test_all
@@ -25,6 +24,7 @@ rule test_all
         :
         :
         :
+            <link>shared:<define>BOOST_TEST_DYN_LINK=1
             <host-os>linux:<linkflags>"-lOpenCL"
             <host-os>darwin:<linkflags>"-framework OpenCL"
         ] ;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git



More information about the debian-science-commits mailing list