]> gitweb.factorcode.org Git - factor.git/commitdiff
build.sh: Add a compile option to compile only.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Feb 2019 18:48:42 +0000 (18:48 +0000)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Feb 2019 18:48:42 +0000 (18:48 +0000)
Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.

build.sh

index ef3adb9ceec4e33c16206a4d9faba6e75d05aafa..84d8b22aa4eb4ebfa8bc9f308a125748b41452d7 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -700,7 +700,7 @@ install_deps_dnf() {
 }
 
 install_deps_pkg() {
-    sudo pkg install --yes git gcc rlwrap ripgrep curl gmake
+    sudo pkg install --yes git gcc rlwrap ripgrep curl gmake x11-toolkits/gtk30 x11-toolkits/gtkglext pango cairo
 }
 
 
@@ -762,6 +762,7 @@ case "$1" in
     quick-update) update; refresh_image ;;
     update) update; download_and_bootstrap ;;
     latest) update; download_and_bootstrap ;;
+    compile) find_build_info; make_factor ;;
     bootstrap) get_config_info; bootstrap ;;
     net-bootstrap) net_bootstrap_no_pull ;;
     make-target) FIND_MAKE_TARGET=true; ECHO=false; find_build_info; exit_script ;;