From a694298820d2ff4d25ac468b18032696124bee5b Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 8 Mar 2021 09:30:41 +0100 Subject: [PATCH] easy-builder: use make directly because cmake on macOS does not return error code on build failure --- easy-builder | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 -- 2.39.2