Bug 4450

Summary: configure option --with-shared-libslurm sets build for static linkage
Product: Slurm Reporter: Philip Kovacs <pkdevel>
Component: Build System and PackagingAssignee: Danny Auble <da>
Status: RESOLVED FIXED QA Contact:
Severity: 4 - Minor Issue    
Priority: ---    
Version: 17.11.0   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Bull/Atos Sites: --- Confidential Site: ---
Cray Sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
SFW Sites: --- SNIC sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed: 17.11.1 18.08.0-pre1
Target Release: --- DevPrio: ---

Description Philip Kovacs 2017-11-29 13:24:32 MST
The release notes for 17.11 state:

-- Add the configure option --with-shared-libslurm which will link to
   libslurm.so instead of libslurm.o thus reducing the footprint of all the

but using that switch you get a static build:

checking Link to libslurm.so instead of libslurm.o... static

The default appears to be a shared build (no configure switch used).

Use either --with-shared-libslurm or --without-shared-libslurm and you get static.
Comment 1 Danny Auble 2017-11-29 14:36:25 MST
Thanks for pointing that out Philip, this is fixed in commit c31addc53cd.