This wiki is obsolete, see the NorduGrid web pages for up to date information.
Build System
From NorduGrid
Jump to navigationJump to search
NorduGrid package build system
This is a short howto that describes how to use the NorduGrid package build system.
The build system is triggered the through runtime environments:
APPS/PKGBUILD/<VENDOR>-<RELEASE>-<ARCHITECTURE>
Sample xRSL script to build cppunit RPMs for Fedora 10 (x86_64):
&
(executable="/bin/echo")
(runtimeenvironment=APPS/PKGBUILD/FEDORA-10-X86_64)
(stdout="out.txt")
(stderr="err.txt")
(cache=no)
(outputfiles=
("out.txt" "" )
("err.txt" "" )
("result/" "" )
)
(inputfiles=
("cppunit-1.12.0-4.el4.1.src.rpm" "cppunit-1.12.0-4.el4.1.src.rpm")
)
Note:
- The attibute "executable" is ignored by the runtime environment.
- For RPM systems (such as Fedora and RedHat) the input is a src.rpm file while the DEB based systems uses a few more files
The job result are the files:
|-- err.txt
|-- out.txt
`-- result
`-- cppunit
|-- build.log
|-- cppunit-1.12.0-4.fc10.1.src.rpm
|-- cppunit-1.12.0-4.fc10.1.x86_64.rpm
|-- cppunit-debuginfo-1.12.0-4.fc10.1.x86_64.rpm
|-- cppunit-devel-1.12.0-4.fc10.1.x86_64.rpm
|-- cppunit-doc-1.12.0-4.fc10.1.x86_64.rpm
|-- root.log
`-- state.log
build.log contains build output while root.log contains build machine setup output.