Skip to content

Commit 80e3881

Browse files
authored
Build with debug info (#1115)
1 parent 90b166c commit 80e3881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/setup/compile-marian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ cd "${marian_dir}"
1919
if [ "${use_gpu}" == "true" ]; then
2020
# this is a production version that runs on GPU
2121
test -v CUDA_DIR
22-
cmake .. -DUSE_SENTENCEPIECE=on -DUSE_FBGEMM=on -DCOMPILE_CPU=on -DCMAKE_BUILD_TYPE=Release \
22+
cmake .. -DUSE_SENTENCEPIECE=on -DUSE_FBGEMM=on -DCOMPILE_CPU=on -DCMAKE_BUILD_TYPE=RelWithDebInfo \
2323
-DCUDA_TOOLKIT_ROOT_DIR="${CUDA_DIR}" "${extra_args[@]}"
2424
else
2525
# this is a CPU version that we use for testing
26-
cmake .. -DUSE_SENTENCEPIECE=on -DUSE_FBGEMM=on -DCOMPILE_CPU=on -DCMAKE_BUILD_TYPE=Release \
26+
cmake .. -DUSE_SENTENCEPIECE=on -DUSE_FBGEMM=on -DCOMPILE_CPU=on -DCMAKE_BUILD_TYPE=RelWithDebInfo \
2727
-DCOMPILE_CUDA=off -DCOMPILE_SERVER=on "${extra_args[@]}"
2828
fi
2929

0 commit comments

Comments
 (0)