From 4b25458b103b031befe2492656bbd84292c62e8b Mon Sep 17 00:00:00 2001
From: Dmitri Konstantinov <dmitri.konstantinov@cern.ch>
Date: Thu, 5 Nov 2020 08:35:18 +0100
Subject: [PATCH] Add build instructions for git package, add latest git 2.29.2
 into dev slots

---
 cmake/toolchain/heptools-dev-base.cmake |  1 +
 externals/CMakeLists.txt                | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/cmake/toolchain/heptools-dev-base.cmake b/cmake/toolchain/heptools-dev-base.cmake
index c97d26802d..a52e57f806 100644
--- a/cmake/toolchain/heptools-dev-base.cmake
+++ b/cmake/toolchain/heptools-dev-base.cmake
@@ -259,6 +259,7 @@ LCG_external_package(genshi            0.7
 LCG_external_package(geos              3.7.2                                    )
 LCG_external_package(gettext           0.20.1                                   )
 LCG_external_package(gflags            2.2.2                                    )
+LCG_external_package(git               2.29.2                                   )
 LCG_external_package(glib              2.52.2                                   )
 LCG_external_package(globus_sdk        1.8.0                                    )
 LCG_external_package(glog              0.4.0                                    )
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index b1534f5eb1..024718d6d3 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -2790,3 +2790,15 @@ LCGPackage_Add(
   DEPENDS Boost tbb
   DEPENDS_OPT cuda
 )
+
+#---alpaka-----------------------------------------------------------------------------------------------------
+LCGPackage_Add(
+  git
+  URL ${GenURL}/git-<VERSION>.tar.gz
+  CONFIGURE_COMMAND make configure
+            COMMAND ./configure --prefix=<INSTALL_DIR> --with-openssl --with-curl --with-expat --with-tcltk 
+  BUILD_IN_SOURCE 1
+  DEPENDS curl expat IF LCG_OS STREQUAL mac THEN openssl ENDIF 
+)
+
+
-- 
GitLab