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?

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

Attachment: pgpHUkWTM0FQ7.pgp
Description: PGP signature

Reply via email to