Commit 04931a5a by Julien Leduc

by default cmake compiles the castor client code only

parent f64fc964
Pipeline #157313 passed with stages
in 11 minutes 31 seconds
Showing with 6 additions and 6 deletions
......@@ -18,7 +18,7 @@ castor_srpm:
- yum install -y gcc-c++ cmake make rpm-build python-debian
- mkdir build_srpm
- cd build_srpm
- cmake -DPackageOnly:Bool=true -DVCS_VERSION=${CASTOR_BUILD_ID} ..
- cmake -DCOMPILE_SERVER:STRING=1 -DPackageOnly:Bool=true -DVCS_VERSION=${CASTOR_BUILD_ID} ..
- make castor_srpm
artifacts:
......@@ -40,7 +40,7 @@ castor_rpm:
- yum-builddep --nogpgcheck -y build_srpm/RPM/SRPMS/*
- mkdir build_rpm
- cd build_rpm
- cmake -DVCS_VERSION=${CASTOR_BUILD_ID} ..
- cmake -DCOMPILE_SERVER:STRING=1 -DVCS_VERSION=${CASTOR_BUILD_ID} ..
- make castor_rpm
artifacts:
......@@ -66,7 +66,7 @@ castor_tagged_rpm:
- yum-builddep --nogpgcheck -y build_srpm/RPM/SRPMS/*
- mkdir build_tagged_rpm
- cd build_tagged_rpm
- CASTOR_VERSION=${TAG_VERSION} cmake -DVCS_VERSION=${TAG_RELEASE} ..
- CASTOR_VERSION=${TAG_VERSION} cmake -DCOMPILE_SERVER:STRING=1 -DVCS_VERSION=${TAG_RELEASE} ..
- make castor_rpm
artifacts:
......
......@@ -61,9 +61,9 @@ include(cmake/CASTORVersion.cmake)
# Generate the compilation variables, if needed
if (NOT DEFINED COMPILE_SERVER)
message (STATUS "Setting COMPILE_SERVER to the value of 1")
message (STATUS "Override with -DCOMPILE_SERVER:STRING=0")
set(COMPILE_SERVER 1)
message (STATUS "Setting COMPILE_SERVER to the value of 0")
message (STATUS "Override with -DCOMPILE_SERVER:STRING=1")
set(COMPILE_SERVER 0)
else (NOT DEFINED COMPILE_SERVER)
message (STATUS "Already set: COMPILE_SERVER=${COMPILE_SERVER}")
endif (NOT DEFINED COMPILE_SERVER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment