Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
b6d5a92f
Commit
b6d5a92f
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
move blcr into it's own rpm
parent
769c2797
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slurm.spec
+22
-6
22 additions, 6 deletions
slurm.spec
with
22 additions
and
6 deletions
slurm.spec
+
22
−
6
View file @
b6d5a92f
...
...
@@ -119,9 +119,10 @@ BuildRequires: ncurses-devel
BuildRequires: pkgconfig
%endif
%if %{slurm_with blcr}
BuildRequires: blcr
%endif
# not sure if this is always an actual rpm or not so leaving the requirement out
#%if %{slurm_with blcr}
#BuildRequires: blcr
#%endif
%if %{slurm_with readline}
BuildRequires: readline-devel
...
...
@@ -327,6 +328,15 @@ to root, any user with an SLURM-launched job currently running on the node,
or any user who has allocated resources on the node according to the SLURM
%endif
%if %{slurm_with blcr}
%package blcr
Summary: Allows SLURM to use Berkeley Lab Checkpoint/Restart
Group: System Environment/Base
Requires: slurm
%description blcr
Gives the ability for SLURM to use Berkeley Lab Checkpoint/Restart
%endif
#############################################################################
%prep
...
...
@@ -427,6 +437,15 @@ test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/task_affinity.so &&
rm -rf $RPM_BUILD_ROOT
#############################################################################
%if %{slurm_with blcr}
%files blcr
%defattr(-,root,root)
%{_bindir}/srun_cr
%{_libexecdir}/slurm/cr_*
%{_libdir}/slurm/checkpoint_blcr.so
%endif
#############################################################################
%files -f slurm.files
%defattr(-,root,root,0755)
%doc AUTHORS
...
...
@@ -440,9 +459,6 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/slurmctld
%{_sbindir}/slurmd
%{_sbindir}/slurmstepd
%if %{slurm_with blcr}
%{_libexecdir}/slurm/cr_*
%endif
%ifos aix5.3
%{_sbindir}/srun
%endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment