1 #==============================================================================
2 # Copyright 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI
3 # Copyright 2014 NumScale SAS
5 # Distributed under the Boost Software License, Version 1.0.
6 # See accompanying file LICENSE.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt
8 #==============================================================================
10 use-project boost : $(BOOST_ROOT) ;
14 # This must be built using an NT2 installation.
15 # NT2_ROOT_PATH should point to the build directory.
16 # Currently, cxxflags needs to be set to the required architecture
17 # if using avx/avx2, set the environemnt variable NT2_SIMD_FLAGS to the
18 # required value for your compiler (i.e. -mavx2 on g++)
19 # If using sse2/3/4 in 64 bits, this is set automatically.
21 local NT2_ROOT_PATH = [ os.environ NT2_ROOT_PATH ] ;
22 local NT2_SIMD_FLAGS = [ os.environ NT2_SIMD_FLAGS ] ;
26 <define>BOOST_ALL_NO_LIB=1
27 <include>../../../../..
28 <include>$(NT2_ROOT_PATH)/include/
30 <toolset>gcc:<cxxflags>-DBOOST_SIMD_NO_STRICT_ALIASING
31 <toolset>gcc:<cxxflags>-fno-strict-aliasing
32 <cxxflags>$(NT2_SIMD_FLAGS)
35 exe phase_oscillator_ensemble : phase_oscillator_ensemble.cpp ;