[condor] Do not enable cgroups in cmake if they are not requested for the build.

Brian Bockelman bbockelm at fedoraproject.org
Thu Jun 30 03:02:22 UTC 2011


commit d9326856e7126cea0a0a0d0df3a64df637ce9688
Author: Brian Bockelman <bbockelm at cse.unl.edu>
Date:   Sat Jun 25 12:59:03 2011 -0500

    Do not enable cgroups in cmake if they are not requested for the build.

 condor.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/condor.spec b/condor.spec
index 8a994ec..41664f7 100644
--- a/condor.spec
+++ b/condor.spec
@@ -407,7 +407,9 @@ popd
        -DWITH_LIBDELTACLOUD:BOOL=FALSE \
 %endif
        -DWITH_GLOBUS:BOOL=TRUE \
+%if %cgroups
        -DLIBCGROUP_FOUND_SEARCH_cgroup=/%{_lib}/libcgroup.so.1
+%endif
 
 # NOTE: I used to have these.  Check to see if they are still needed
 #       -DHAVE_BACKFILL:BOOL=TRUE \


More information about the scm-commits mailing list