Skip to content
Snippets Groups Projects
Commit 9cb9ea5b authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed tnl-compile script

nvcc does not like duplicate arguments, here it failed with
    nvcc fatal   : redefinition of argument 'std'
parent 88ada995
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,9 @@ CXX_STD_FLAGS="-std=c++11"
for option in "$@"
do
case $option in
--cuda ) CUDA_FLAGS="-DHAVE_CUDA --std c++11 `tnl-cuda-arch`" ;;
--cuda ) CUDA_FLAGS="-DHAVE_CUDA `tnl-cuda-arch`" ;;
--debug ) DEBUG_FLAGS="-g -O0"
esac
done
echo -I@CMAKE_INSTALL_PREFIX@/include/tnl-@tnlVersion@ ${CUDA_FLAGS} ${CXX_STD_FLAGS} ${DEBUG_FLAGS}
\ No newline at end of file
echo -I@CMAKE_INSTALL_PREFIX@/include/tnl-@tnlVersion@ ${CUDA_FLAGS} ${CXX_STD_FLAGS} ${DEBUG_FLAGS}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment