From f57f488ffe8a49df875fe8d8acb67247f29418bb Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Tue, 14 Jun 2011 12:47:13 -0700 Subject: [PATCH] fix so srun doesn't even get built on a bgl/p system --- src/Makefile.am | 2 ++ src/Makefile.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index fd7845628e5..021e4d19025 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,8 +5,10 @@ SUBDIRS = common api db_api database \ sshare sprio if !BUILD_SRUN2APRUN +if !BG_L_P_LOADED SUBDIRS += srun endif +endif if WITH_BLCR SUBDIRS += srun_cr diff --git a/src/Makefile.in b/src/Makefile.in index f05f3d0974e..3e85612f418 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -34,7 +34,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -@BUILD_SRUN2APRUN_FALSE@am__append_1 = srun +@BG_L_P_LOADED_FALSE@@BUILD_SRUN2APRUN_FALSE@am__append_1 = srun @WITH_BLCR_TRUE@am__append_2 = srun_cr subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -- GitLab