aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-11-24 12:01:25 +0900
committerMITSUNARI Shigeo <[email protected]>2022-11-24 15:48:06 +0900
commitbafc1ee60f37ebdb27ea27cb92690070b76128d2 (patch)
tree9167d6c58ac1507f23785524523ee542e231180b
parentd8cabc6cb7023ac8541a5b93527341f3869b045d (diff)
downloadxbyak-bafc1ee60f37ebdb27ea27cb92690070b76128d2.tar.gz
xbyak-bafc1ee60f37ebdb27ea27cb92690070b76128d2.zip
CXX uses g++ as default value
-rwxr-xr-xtest/test_address.sh2
-rwxr-xr-xtest/test_avx.sh1
-rwxr-xr-xtest/test_avx512.sh1
-rwxr-xr-xtest/test_nm.sh1
4 files changed, 5 insertions, 0 deletions
diff --git a/test/test_address.sh b/test/test_address.sh
index cbe088e..7960700 100755
--- a/test/test_address.sh
+++ b/test/test_address.sh
@@ -6,6 +6,8 @@ sub()
{
CFLAGS="-Wall -I../ $OPT2"
+CXX=${CXX:=g++}
+
echo "compile address.cpp"
$CXX $CFLAGS address.cpp -o address
diff --git a/test/test_avx.sh b/test/test_avx.sh
index 07008e0..35087cd 100755
--- a/test/test_avx.sh
+++ b/test/test_avx.sh
@@ -1,6 +1,7 @@
#!/bin/sh
FILTER="grep -v warning"
+CXX=${CXX:=g++}
case $1 in
Y)
diff --git a/test/test_avx512.sh b/test/test_avx512.sh
index 736e142..90d14df 100755
--- a/test/test_avx512.sh
+++ b/test/test_avx512.sh
@@ -1,6 +1,7 @@
#!/bin/sh
FILTER="grep -v warning"
+CXX=${CXX:=g++}
case $1 in
64)
diff --git a/test/test_nm.sh b/test/test_nm.sh
index 0751149..019f278 100755
--- a/test/test_nm.sh
+++ b/test/test_nm.sh
@@ -1,6 +1,7 @@
#!/bin/sh
FILTER=cat
+CXX=${CXX:=g++}
case $1 in
Y)