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
bbcff411
Commit
bbcff411
authored
7 years ago
by
Pär Lindfors
Committed by
Tim Wickberg
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
slurm.spec - add --with hwloc and --with numa options.
Bug 4424.
parent
cb7a68a8
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
+16
-0
16 additions, 0 deletions
slurm.spec
with
16 additions
and
0 deletions
slurm.spec
+
16
−
0
View file @
bbcff411
...
...
@@ -24,8 +24,10 @@ Source: %{slurm_source_dir}.tar.bz2
# --with cray_network %_with_cray_network 1 build for a non-Cray system with a Cray network
# --without debug %_without_debug 1 don't compile with debugging symbols
# --with hdf5 %_with_hdf5 path require hdf5 support
# --with hwloc %_with_hwloc 1 require hwloc support
# --with lua %_with_lua path build Slurm lua bindings
# --with mysql %_with_mysql 1 require mysql/mariadb support
# --with numa %_with_numa 1 require NUMA support
# --with openssl %_with_openssl 1 require openssl RPM to be installed
# ensures auth/openssl and crypto/openssl are built
# --without pam %_without_pam 1 don't require pam-devel RPM to be installed
...
...
@@ -37,9 +39,11 @@ Source: %{slurm_source_dir}.tar.bz2
# These options are only here to force there to be these on the build.
# If they are not set they will still be compiled if the packages exist.
%bcond_with hwloc
%bcond_with mysql
%bcond_with hdf5
%bcond_with lua
%bcond_with numa
# Build with OpenSSL by default on all platforms (disable using --without openssl)
%bcond_without openssl
...
...
@@ -111,6 +115,18 @@ BuildRequires: lua-devel
%endif
%endif
%if %{with hwloc}
BuildRequires: hwloc-devel
%endif
%if %{with numa}
%if %{defined suse_version}
BuildRequires: libnuma-devel
%else
BuildRequires: numactl-devel
%endif
%endif
# Allow override of sysconfdir via _slurm_sysconfdir.
# Note 'global' instead of 'define' needed here to work around apparent
# bug in rpm macro scoping (or something...)
...
...
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