diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-03-04 14:45:01 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-03-27 21:51:50 -0700 |
commit | a31b7320077c340268d31642ded69cc66fbc230c (patch) | |
tree | 884808c8657f774a56f82720486b88017f30e6a6 /libs/libiio | |
parent | 3ad92293da92b2d5fc3de1ccc214a69f2b081f2e (diff) |
treewide: build CMake projects with Ninja
faster to compile.
A small selection of packages was tested going from:
Executed in 696.30 secs fish external
usr time 82.98 mins 395.00 micros 82.98 mins
sys time 9.02 mins 0.00 micros 9.02 mins
to:
Executed in 592.20 secs fish external
usr time 84.84 mins 361.00 micros 84.84 mins
sys time 8.85 mins 57.00 micros 8.85 mins
Tested by running make -j 12 and wiping staging/build_dir/target_x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libiio')
-rw-r--r-- | libs/libiio/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/libiio/Makefile b/libs/libiio/Makefile index 9a91b51b8..33c91ac61 100644 --- a/libs/libiio/Makefile +++ b/libs/libiio/Makefile @@ -20,9 +20,6 @@ PKG_LICENSE_FILES:=COPYING.txt PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de> -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 - CMAKE_INSTALL:=1 PKG_CONFIG_DEPENDS:= \ @@ -33,8 +30,8 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_LIBIIO_XML_BACKEND include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/nls.mk +include ../../devel/ninja/ninja-cmake.mk CMAKE_OPTIONS += -DWITH_DOC=OFF CMAKE_OPTIONS += -DENABLE_IPV6=$(if $(CONFIG_IPV6),ON,OFF) |