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
135
135
exit 1
136
136
fi
137
137
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
150
147
fi
151
148
fi
152
149
@@ -158,7 +155,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
158
155
cd " $SCRIPT_DIR "
159
156
160
157
if [ " $PLATFORM " == " msys2" ]; then
161
- PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _mingw ${ARCH} .zip"
158
+ PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _ ${ARCH} .zip"
162
159
elif [ " $ARCH " == " " ] && [ " $PLATFORM " == " vs" ]; then
163
160
PKGS=" openFrameworksLibs_${VER} _${PLATFORM} _64_1.zip \
164
161
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
17
17
esac
18
18
done
19
19
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
-
27
20
cd ${SCRIPTPATH} /../../libs/openFrameworksCompiled/project
28
21
29
22
if [ -v CI ]; then
You can’t perform that action at this time.
0 commit comments