1# 2# Copyright Andrey Semashev 2007 - 2015. 3# Distributed under the Boost Software License, Version 1.0. 4# (See accompanying file LICENSE_1_0.txt or copy at 5# http://www.boost.org/LICENSE_1_0.txt) 6# 7 8import project ; 9 10project /boost/log/x86-extensions 11 : source-location . 12 : requirements 13 <pch>off 14 ; 15 16obj ssse3 : ssse3.cpp 17 : 18 <toolset>gcc:<cxxflags>"-msse -msse2 -msse3 -mssse3" 19 <toolset>clang:<cxxflags>"-msse -msse2 -msse3 -mssse3" 20 <toolset>intel-linux:<cxxflags>"-xSSSE3" 21 <toolset>intel-darwin:<cxxflags>"-xSSSE3" 22 <toolset>intel-win:<cxxflags>"/QxSSSE3" 23 ; 24 25obj avx2 : avx2.cpp 26 : 27 <toolset>gcc:<cxxflags>"-mavx -mavx2 -fabi-version=0" 28 <toolset>clang:<cxxflags>"-mavx -mavx2" 29 <toolset>intel-linux:<cxxflags>"-xCORE-AVX2 -fabi-version=0" 30 <toolset>intel-darwin:<cxxflags>"-xCORE-AVX2 -fabi-version=0" 31 <toolset>intel-win:<cxxflags>"/arch:CORE-AVX2" 32 <toolset>msvc:<cxxflags>"/arch:AVX" 33 ; 34 35