From 662d6592a3cb896f7c67b4fc480051a621dde536 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 12 Sep 2018 13:57:41 +0200 Subject: [PATCH] Only install/strip on Release build --- nix/build-all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index 98de3f4322..2279801d02 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -556,7 +556,7 @@ run_cmake("", cmake_args=[ logger.info("\rBuilding executables... ") __check_call__([make, "-j%s" % (IFCOS_NUM_BUILD_PROCS,)], cwd=executables_dir) -__check_call__([make, "install/strip"], cwd=executables_dir) +__check_call__([make, "install/strip" if BUILD_CFG == "Release" else "install"], cwd=executables_dir) # On OSX the actual Python library is not linked against. ADDITIONAL_ARGS=""