From: Thomas Debesse Date: Mon, 8 Mar 2021 08:30:41 +0000 (+0100) Subject: easy-builder: use make directly because cmake on macOS does not return error code... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a694298820d2ff4d25ac468b18032696124bee5b;p=xonotic%2Fnetradiant.git easy-builder: use make directly because cmake on macOS does not return error code on build failure --- diff --git a/easy-builder b/easy-builder index 0f266902..2c71c352 100755 --- a/easy-builder +++ b/easy-builder @@ -111,19 +111,15 @@ task_configure () { } task_build_builtins () { - cmake \ - --build "${build_dir}" \ - -- \ - -j"${job_count}" \ - 'builtins' + make -j"${job_count}" builtins } task_build () { - cmake \ - --build "${build_dir}" \ - -- \ - -j"${job_count}" \ - "${install_target}" + make -j"${job_count}" +} + +task_install () { + make "${install_target}" } set -x @@ -140,3 +136,5 @@ task_build_builtins # ld: symbol(s) not found for architecture x86_64 # and restarting the build process just work. task_build || task_build + +task_install