From 0aabe71a7d137f1890e796acf73e3e3512af24a8 Mon Sep 17 00:00:00 2001
From: Anthony Mallet <anthony.mallet@laas.fr>
Date: Mon, 5 Nov 2012 18:44:15 +0100
Subject: [PATCH] [wip/hyper] Be gentle with RAM

Following the author's advice, re-enable this package but disable parallel
jobs, because some files make gcc grow up to 1GB during compilation. This is an
issue with the current setup for bulk builds.
---
 Makefile       | 2 +-
 hyper/Makefile | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ae1e1ea1..31aec414 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ SUBDIR+=	genom3-ros
 SUBDIR+=	genomix
 SUBDIR+=	gest-genom
 SUBDIR+=	hpp-geometry
-# the following has too many issues in bulk + virtualbox SUBDIR+=	hyper
+SUBDIR+=	hyper
 SUBDIR+=	hyper_genom
 SUBDIR+=	jafar-kernel
 SUBDIR+=	jafar-lgl
diff --git a/hyper/Makefile b/hyper/Makefile
index 7a40c3f4..a237173b 100644
--- a/hyper/Makefile
+++ b/hyper/Makefile
@@ -15,6 +15,7 @@ COMMENT=		Multi-agent supervision framework for autonomous robots
 LICENSE=		2-clause-bsd
 
 USE_LANGUAGES=		c c++
+MAKE_JOBS_SAFE=		no # because gcc eats up to 1GB for some files...
 
 CMAKE_ARGS+=		-DBOOST_INCLUDEDIR=${PREFIX.boost-headers}/include
 CMAKE_ARGS+=		-DBOOST_LIBDIR=${PREFIX.boost-libs}/include
-- 
GitLab