]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/cmake
cmake: Update to 3.20
[ipfire-2.x.git] / lfs / cmake
index ca02cb71654b394a4c566c22154dfb4130c7fb98..e9cbd7678e3a12a25af74febe4f55db7a5dead8d 100644 (file)
--- a/lfs/cmake
+++ b/lfs/cmake
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2017  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.8.1
+VER        = 3.20.0
 
 THISAPP    = cmake-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
-MAKETUNING = -j2
+MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 512)))
 
 ###############################################################################
 # Top-level Rules
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = e8ef820ddf7a650845252bca846696e7
+$(DL_FILE)_MD5 = 9079201b76ca8d5b8b5337443369ae59
 
 install : $(TARGET)
 
@@ -80,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --mandir=/share/man \
                        --no-system-jsoncpp \
                        --no-system-librhash \
+                       --no-system-libuv \
                        --docdir=/share/doc/cmake
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install