summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-10-02 15:04:07 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-10-02 15:04:07 +0200
commit5ecd2b05bfcb6ffb7216f9ae0505aa451306e598 (patch)
treebc4f3ce6db2a5c3b122831d56bddeb49570eb2b0 /build
parent12fd6925502d3ead9b73498f44f9b2f9abbc9bea (diff)
downloadastra-5ecd2b05bfcb6ffb7216f9ae0505aa451306e598.tar.gz
astra-5ecd2b05bfcb6ffb7216f9ae0505aa451306e598.tar.bz2
astra-5ecd2b05bfcb6ffb7216f9ae0505aa451306e598.tar.xz
astra-5ecd2b05bfcb6ffb7216f9ae0505aa451306e598.zip
Prettify nvcc arch output slightly
Diffstat (limited to 'build')
-rw-r--r--build/linux/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/linux/acinclude.m4 b/build/linux/acinclude.m4
index b6c1b2d..313e849 100644
--- a/build/linux/acinclude.m4
+++ b/build/linux/acinclude.m4
@@ -93,7 +93,7 @@ for arch in $1; do
$NVCC -c -o conftest.o conftest.cu $$2 $NVCC_opt >conftest.nvcc.out 2>&1 && {
NVCC_lastarch=$arch
NVCC_extra="$NVCC_extra $NVCC_opt"
- NVCC_list="$NVCC_list $arch"
+ NVCC_list="${NVCC_list:+$NVCC_list, }$arch"
}
done
if test $NVCC_lastarch != none; then