Commit 2ed301db authored by incardon's avatar incardon

Fixing compilation flags

parent 821c8b27
Pipeline #2644 passed with stages
in 13 minutes and 49 seconds
......@@ -126,9 +126,6 @@ size_t openfpm_vcluster_compilation_mask()
compiler_mask |= 0x1;
#endif
#ifdef __NVCC__
compiler_mask |= 0x02;
#endif
#ifdef CUDA_GPU
compiler_mask |= 0x04;
......
......@@ -1480,9 +1480,10 @@ static void openfpm_init(int *argc, char ***argv)
if (compiler_mask != openfpm_vcluster_compilation_mask() || compiler_mask != openfpm_ofpmmemory_compilation_mask())
{
std::cout << __FILE__ << ":" << __LINE__ << " Error: with the compilation options you are using you should linking with " <<
get_link_lib(compiler_mask) << " but you are linking with " <<
"-lvcluster_" << get_link_lib(openfpm_vcluster_compilation_mask()) << " and -lofpmmemory_" <<
std::cout << __FILE__ << ":" << __LINE__ << " Error: in compilation you should link with " <<
"-lvcluster" << get_link_lib(compiler_mask) << " and -lofpmmemory" << get_link_lib(compiler_mask) <<
" but you are linking with " <<
"-lvcluster" << get_link_lib(openfpm_vcluster_compilation_mask()) << " and -lofpmmemory" <<
get_link_lib(openfpm_ofpmmemory_compilation_mask()) << std::endl;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment