On Wed, 17 Aug 2011 03:19:10 -0700, Pär Andersson <[email protected]> wrote: Non-text part: multipart/signed > Hi, > > We often deploy patched versions of slurm, with bugfixes and/or new > features under development. Currently we build RPM packages by taking an > official release tarball and modify the slurm.spec file to apply the > patches. > > With all development taking place in git, it would be very helpful to be > able to generate release tarballs directly from our local git branches. > > How do you generate slurm release tarballs? > > The BUILD.NOTES seems to indicate that something called "buildfarm" is used: > > >0. Get current copies of SLURM and buildfarm > > > git clone https://<user_name>@github.com/chaos/slurm.git > > > svn co https://eris.llnl.gov/svn/chaos/private/buildfarm/trunk buildfarm > > place the buildfarm directory in your search path > > > export PATH=~/buildfarm:$PATH > >1. Update NEWS and META files for the new release. In the META file, > > Unfortunately the buildfarm svn repo is not available, I am guessing it > is llnl internal?
Yes, the build farm is internal LLNL infrastructure using a build script that parses the META file for version information, etc. It probably doesn't make much sense to have those instructions in a public repository. The "make rpm" target was something we used a long time ago. My guess is that the documention was created years ago and hasn't been maintained since. I agree it would be good if the "make dist" target was fixed. This probably just involves adding a lot of EXTRA_DIST targets, etc. mark > That file also mentions a rpm make target that does not seem to exist: > > > 3. Use the rpm make target to create the new RPMs. This requires a > > .rpmmacros > > $ make rpm > make: *** No rule to make target `rpm'. Stop. > > The Makefile do contain several dist-* targets, but they don't work > either (rerunning autogen.sh does not help): > > $ make dist > ... > make[2]: Entering directory `/data/work/slurm/github/slurm/src/api' > make[2]: *** No rule to make target `job_info.h', needed by `distdir'. Stop. > make[2]: Leaving directory `/data/work/slurm/github/slurm/src/api' > make[1]: *** [distdir] Error 1 > make[1]: Leaving directory `/data/work/slurm/github/slurm/src' > make: *** [distdir] Error 1 > > Kind regards, > > Pär Andersson > NSC Non-text part: application/pgp-signature
