File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed
Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -135,18 +135,15 @@ EOF
135135 exit 1
136136 fi
137137 elif [ " $PLATFORM " == " msys2" ]; then
138- if [ " $MSYSTEM " == " MINGW64" ]; then
139- ARCH=64
140- elif [ " $MSYSTEM " == " MINGW32" ]; then
141- ARCH=32
142- else
143- cat << EOF
144- This MSYS2 variant ($MSYSTEM ) is not recognized.
145- Check if you are running a MINGW32 or MINGW64 shell.
146- Assuming 32bits version for now...
147- EOF
148- ARCH=32
149- fi
138+ if [ " $MSYSTEM " == " MINGW64" ]; then
139+ ARCH=mingw64
140+ elif [ " $MSYSTEM " == " MINGW32" ]; then
141+ ARCH=mingw32
142+ elif [ " $MSYSTEM " == " UCRT64" ]; then
143+ ARCH=ucrt64
144+ elif [ " $MSYSTEM " == " CLANG64" ]; then
145+ ARCH=clang64
146+ fi
150147 fi
151148fi
152149
@@ -158,7 +155,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
158155cd " $SCRIPT_DIR "
159156
160157if [ " $PLATFORM " == " msys2" ]; then
161- PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _mingw ${ARCH} .zip"
158+ PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _ ${ARCH} .zip"
162159elif [ " $ARCH " == " " ] && [ " $PLATFORM " == " vs" ]; then
163160 PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _64_1.zip \
164161 openFrameworksLibs_${VER} _${PLATFORM} _64_2.zip \
Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ while getopts tj: opt ; do
1717 esac
1818done
1919
20- if [ " ${MSYSTEM: 0: 5} " != " MINGW" ]
21- then
22- echo " This is not a MINGW(32|64) shell!"
23- echo " Please launch compileOF.sh from a MINGW(32|64) shell."
24- exit 1
25- fi
26-
2720cd ${SCRIPTPATH} /../../libs/openFrameworksCompiled/project
2821
2922if [ -v CI ]; then
You can’t perform that action at this time.
0 commit comments