By Shahrzad Shirzad
BlazeTest is a testing tool provided by Blaze. In order to compile and run BlazeTest with HPX backend, take the following steps:
- Change the Configfile at
blaze/blazetest
by filling in theCXX=
,CXXFLAGS=
,LIBRARY_DIRECTIVES=
fields in the Configfile:
This is an example of the configurations used for Clang:
# Compiler selection
CXX="clang++"
# Special compiler flags
CXXFLAGS="-O3 -march=native -std=c++17 -stdlib=libc++ -DNDEBUG -fpermissive -DBLAZE_USE_HPX_THREADS -isystem /hpx/install/path/include -Wl,-wrap=main"# Library settings (optional)
# In some cases it might be necessary to specify additional library paths and add additional
# libraries. This can be done via this setting.
LIBRARY_DIRECTIVES="-L/hpx/install/path/lib/ -lhpx -rdynamic /hpx/install/path/lib/libhpx_init.a -ldl -lrt -lhpx_wrap - L/boost/install/path/lib -lboost_system -lboost_program_options"
- ./configure Configfile
- make essentials
- ./run