From b88c4627b375ec573825316f29000be7a12e7659 Mon Sep 17 00:00:00 2001
From: Dmitri Konstantinov <dmitri.konstantinov@cern.ch>
Date: Thu, 9 Feb 2023 10:12:38 +0100
Subject: [PATCH 1/4] Test pythia8 building  it with make -j10

---
 generators/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generators/CMakeLists.txt b/generators/CMakeLists.txt
index 7f29ba057a..a8b3a9378f 100644
--- a/generators/CMakeLists.txt
+++ b/generators/CMakeLists.txt
@@ -436,7 +436,7 @@ LCGPackage_Add(
   CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --with-lhapdf6=${lhapdf_home} --enable-shared                             --with-python-config=${Python_home/bin/}python-config 
 
   IF NOT ${zlib_home} STREQUAL TakenFromSystem THEN --with-zlib=${zlib_home} ELSE --with-gzip ENDIF
-  BUILD_COMMAND ${MAKE}
+  BUILD_COMMAND make -j10
   BUILD_IN_SOURCE 1
   DEPENDS lhapdf zlib Python
   REVISION 1
-- 
GitLab


From 530c7772ae269a0cb3ccd3246d4f4e20dc0a343e Mon Sep 17 00:00:00 2001
From: Dmitri Konstantinov <dmitri.konstantinov@cern.ch>
Date: Thu, 9 Feb 2023 10:44:34 +0100
Subject: [PATCH 2/4] Update CMakeLists.txt

---
 generators/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generators/CMakeLists.txt b/generators/CMakeLists.txt
index a8b3a9378f..7f29ba057a 100644
--- a/generators/CMakeLists.txt
+++ b/generators/CMakeLists.txt
@@ -436,7 +436,7 @@ LCGPackage_Add(
   CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --with-lhapdf6=${lhapdf_home} --enable-shared                             --with-python-config=${Python_home/bin/}python-config 
 
   IF NOT ${zlib_home} STREQUAL TakenFromSystem THEN --with-zlib=${zlib_home} ELSE --with-gzip ENDIF
-  BUILD_COMMAND make -j10
+  BUILD_COMMAND ${MAKE}
   BUILD_IN_SOURCE 1
   DEPENDS lhapdf zlib Python
   REVISION 1
-- 
GitLab


From d675b243b3a94f8f8bad90630843d5a8f2945d97 Mon Sep 17 00:00:00 2001
From: Dmitri Konstantinov <dmitri.konstantinov@cern.ch>
Date: Thu, 9 Feb 2023 10:58:32 +0100
Subject: [PATCH 3/4] Update CMakeLists.txt

---
 generators/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generators/CMakeLists.txt b/generators/CMakeLists.txt
index 7f29ba057a..8fbdfd936c 100644
--- a/generators/CMakeLists.txt
+++ b/generators/CMakeLists.txt
@@ -436,7 +436,7 @@ LCGPackage_Add(
   CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --with-lhapdf6=${lhapdf_home} --enable-shared                             --with-python-config=${Python_home/bin/}python-config 
 
   IF NOT ${zlib_home} STREQUAL TakenFromSystem THEN --with-zlib=${zlib_home} ELSE --with-gzip ENDIF
-  BUILD_COMMAND ${MAKE}
+  BUILD_COMMAND make -j256
   BUILD_IN_SOURCE 1
   DEPENDS lhapdf zlib Python
   REVISION 1
-- 
GitLab


From 8618a4cf7dc46a900ce7857d80792fbbd7569eb2 Mon Sep 17 00:00:00 2001
From: Dmitri Konstantinov <dmitri.konstantinov@cern.ch>
Date: Thu, 9 Feb 2023 11:09:26 +0100
Subject: [PATCH 4/4] Update CMakeLists.txt

---
 generators/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generators/CMakeLists.txt b/generators/CMakeLists.txt
index 8fbdfd936c..6b94c2b52f 100644
--- a/generators/CMakeLists.txt
+++ b/generators/CMakeLists.txt
@@ -436,7 +436,7 @@ LCGPackage_Add(
   CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --with-lhapdf6=${lhapdf_home} --enable-shared                             --with-python-config=${Python_home/bin/}python-config 
 
   IF NOT ${zlib_home} STREQUAL TakenFromSystem THEN --with-zlib=${zlib_home} ELSE --with-gzip ENDIF
-  BUILD_COMMAND make -j256
+  BUILD_COMMAND make -j256 -d
   BUILD_IN_SOURCE 1
   DEPENDS lhapdf zlib Python
   REVISION 1
-- 
GitLab