12345678910111213141516171819202122232425262728293031323334 |
- #
- # Copyright Andrey Semashev 2007 - 2015.
- # Distributed under the Boost Software License, Version 1.0.
- # (See accompanying file LICENSE_1_0.txt or copy at
- # http://www.boost.org/LICENSE_1_0.txt)
- #
- import project ;
- project /boost/log/x86-extensions
- : source-location .
- : requirements
- <pch>off
- ;
- obj ssse3 : ssse3.cpp
- :
- <toolset>gcc:<cxxflags>"-msse -msse2 -msse3 -mssse3"
- <toolset>clang:<cxxflags>"-msse -msse2 -msse3 -mssse3"
- <toolset>intel-linux:<cxxflags>"-xSSSE3"
- <toolset>intel-darwin:<cxxflags>"-xSSSE3"
- <toolset>intel-win:<cxxflags>"/QxSSSE3"
- ;
- obj avx2 : avx2.cpp
- :
- <toolset>gcc:<cxxflags>"-mavx -mavx2 -fabi-version=0"
- <toolset>clang:<cxxflags>"-mavx -mavx2"
- <toolset>intel-linux:<cxxflags>"-xCORE-AVX2 -fabi-version=0"
- <toolset>intel-darwin:<cxxflags>"-xCORE-AVX2 -fabi-version=0"
- <toolset>intel-win:<cxxflags>"/arch:CORE-AVX2"
- <toolset>msvc:<cxxflags>"/arch:AVX"
- ;
|