File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -284,13 +284,35 @@ clean_llvm_build() {
284
284
info " [LLVM] Build not supported on Linux yet"
285
285
;;
286
286
287
- " darwin19" )
287
+ " darwin19" | " darwin20 " )
288
288
info " [LLVM] Build not supported on MacOS yet"
289
289
;;
290
290
291
291
esac
292
292
}
293
293
294
+ install_platform_deps () {
295
+ info " [Init] Install platform dependencies"
296
+
297
+ case $OSTYPE in
298
+
299
+ " msys" )
300
+ info " [Init] No Windows dependencies"
301
+ ;;
302
+
303
+ " linux-gnu" )
304
+ info " [Init] No Linux dependencies"
305
+ ;;
306
+
307
+ " darwin19" | " darwin20" )
308
+ info " [Init] Install gnu-sed"
309
+ brew install gnu-sed
310
+ export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:$PATH
311
+ ;;
312
+
313
+ esac
314
+ }
315
+
294
316
make_work_dir () {
295
317
info " [Init] Make work directory"
296
318
mkdir -p $WORK_DIR
@@ -662,7 +684,7 @@ clean_qt_build() {
662
684
../qt-everywhere-src-5.15.2/configure ${COMMON_CONFIGURE_FLAGS} -platform linux-clang-libc++
663
685
;;
664
686
665
- " darwin19" )
687
+ " darwin19" | " darwin20 " )
666
688
info " [Qt] Clang version in use"
667
689
clang --version
668
690
info " [Qt] Starting configure step"
@@ -742,6 +764,7 @@ case $WORKFLOW in
742
764
$WORKFLOW_ENV )
743
765
header " Dev Environment Bring Up Workflow"
744
766
767
+ confirm " 0. Install platform deps [y/N]" && install_platform_deps
745
768
confirm " 1. Make work directory? [y/N]" && make_work_dir
746
769
confirm " 2. Get Depot Tools? [y/N]" && get_depot_tools
747
770
confirm " 3. Get Qt? [y/N]" && get_qt
You can’t perform that action at this time.
0 commit comments