Skip to content

Commit

Permalink
Update build deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 4, 2024
1 parent 9693219 commit 987b32f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
8 changes: 5 additions & 3 deletions examples/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

using python ;

project
: requirements
: requirements
<library>/boost/odeint//boost_odeint
<define>BOOST_ALL_NO_LIB=1
<library>/python//python
:
:
;


exe harmonic_oscillator : harmonic_oscillator.cpp ;
exe solar_system : solar_system.cpp ;
Expand Down
7 changes: 4 additions & 3 deletions performance/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@

import os ;
import modules ;
import path ;
import path ;

project
: requirements
<library>/boost/odeint//boost_odeint
<define>BOOST_ALL_NO_LIB=1
<cxxstd>11
<toolset>gcc:<cxxflags>-ffast-math
<toolset>intel:<cxxflags>"-fast -inline-forceinline"
: default-build release
;


lib libgsl : : <name>gsl ;
lib libgslcblas : : <name>gslcblas ;

Expand Down
8 changes: 4 additions & 4 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

# bring in rules for testing

require-b2 5.0.1 ;
import-search /boost/config/checks ;
import testing ;
import-search /boost/config/checks ;
import config : requires ;

project
: requirements
<library>/boost/odeint//boost_odeint
<define>BOOST_ALL_NO_LIB=1
# use test library
<library>/boost/test//boost_unit_test_framework
Expand Down Expand Up @@ -81,10 +81,10 @@ test-suite "odeint"
[ compile unwrap_boost_reference.cpp ]
[ compile unwrap_reference.cpp ]
[ compile std_array.cpp ]
:
:
<testing.launcher>valgrind
;

# also run numeric tests
build-project numeric ;

Expand Down

0 comments on commit 987b32f

Please sign in to comment.