Skip to content

Commit 8a95955

Browse files
committed
use -m
1 parent 5ba7cc7 commit 8a95955

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/build_steps_windows.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ echo "using C compiler $(which $CC), --version:"
6767
$CC --version
6868
echo "using F compiler $(which $FC), --version:"
6969
$FC --version
70-
LLVM="$(cygpath -w $(which llvm-mt.exe))"
71-
echo "using MT compiler $(which llvm-mt.exe), converted to $LLVM"
70+
LLVM=$(cygpath -m $(which llvm-mt.exe))
71+
echo using MT compiler $(which llvm-mt.exe), converted to "$LLVM"
7272

7373
# Set suffixed-ILP64 flags
7474
if [ "$if_bits" == "64" ]; then
@@ -107,7 +107,7 @@ cmake .. -G Ninja \
107107
-DCMAKE_Fortran_COMPILER=$FC \
108108
-DBUILD_SHARED_LIBS=ON \
109109
-DCMAKE_SYSTEM_PROCESSOR=$march \
110-
-DCMAKE_MT=$LLVM \
110+
-DCMAKE_MT="$LLVM" \
111111
-DCMAKE_SYSTEM_NAME=Windows \
112112
-DSYMBOLPREFIX="scipy_" \
113113
-DLIBNAMEPREFIX="scipy_" \

0 commit comments

Comments
 (0)