See slurm.spec:

Add to your ~/.rpmmacors
%_with_blcr <path>

or

Run configure with
   --with-blcr=PATH        Specify path to BLCR installation

Quoting Sefa Arslan <[email protected]>:

>
> I am trying to build slurm with blcr.. When I compile slurm from the
> source code  using "configure and make" the srun_cr related files and
> the  binary is compiled. But when I want to build slurm via rpmbuild -ta
> slurm.tar.bz2, the files related with srun_cr are not created. When I
> look at the slurm.spec file, I saw that  these file intentionally
> removed from the created rpm file  by the following lines.
>
> %if ! %{slurm_with blcr}
> # remove these if they exist
> rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/srun_cr*
> rm -f ${RPM_BUILD_ROOT}%{_bindir}/srun_cr
> rm -f ${RPM_BUILD_ROOT}%{_libexecdir}/slurm/cr_*
> %endif
>
> Is there a special for this? I am planning to remove these lines from
> the spec file and rebuild the slurm rpms in order to use blcr functions..
>

Reply via email to