-
- Downloads
Finished the support of partial compilation and packaging in cmake.
The full set of packages can be compiled straight with the following sequence: rm -rf ../build/; mkdir ../build; (cd ../build/; cmake ../castor-git/ ); make -C ../build/ castor_rpm The client packages can also be build directly by adding an option at cmake time: rm -rf ../build/; mkdir ../build; (cd ../build/; cmake -DCOMPILE_SERVER:STRING=0 ../castor-git/ ); make -C ../build/ castor_rpm Finally, one can use the srpm as a first step, and use the TeamCity compatible rpmbuild switch "clientonly": rm -rf ../build/; mkdir ../build; (cd ../build/; cmake ../castor-git/ ); make -C ../build/ castor_srpm buildtree=`mktemp -d`; mkdir -p ${buildtree}/{RPMS/{i386,i586,i686,x86_64},SPECS,BUILD,SOURCES,SRPMS}; rpmbuild --define "_topdir ${buildtree}" --define "clientonly 1" --rebuild ../build/RPM/SRPMS/castor-2.1.14-4.el6.src.rpm
Showing
- CMakeLists.txt 19 additions, 7 deletionsCMakeLists.txt
- castor.spec.in.head 8 additions, 4 deletionscastor.spec.in.head
- castor/CMakeLists.txt 195 additions, 188 deletionscastor/CMakeLists.txt
- castor/db/CMakeLists.txt 3 additions, 1 deletioncastor/db/CMakeLists.txt
- castor/tape/CMakeLists.txt 1 addition, 1 deletioncastor/tape/CMakeLists.txt
- client/src/stager/CMakeLists.txt 11 additions, 8 deletionsclient/src/stager/CMakeLists.txt
- cmake/UseRPMTools.cmake 1 addition, 1 deletioncmake/UseRPMTools.cmake
- h/CMakeLists.txt 54 additions, 52 deletionsh/CMakeLists.txt
- ns/CMakeLists.txt 23 additions, 21 deletionsns/CMakeLists.txt
- rfio/CMakeLists.txt 22 additions, 20 deletionsrfio/CMakeLists.txt
- rmc/CMakeLists.txt 37 additions, 31 deletionsrmc/CMakeLists.txt
- tape/CMakeLists.txt 175 additions, 169 deletionstape/CMakeLists.txt
- upv/CMakeLists.txt 16 additions, 13 deletionsupv/CMakeLists.txt
- vmgr/CMakeLists.txt 17 additions, 15 deletionsvmgr/CMakeLists.txt
Loading
Please register or sign in to comment