Bug 4450 - configure option --with-shared-libslurm sets build for static linkage
Summary: configure option --with-shared-libslurm sets build for static linkage
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Build System and Packaging (show other bugs)
Version: 17.11.0
Hardware: Linux Linux
: --- 4 - Minor Issue
Assignee: Danny Auble
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2017-11-29 13:24 MST by Philip Kovacs
Modified: 2017-11-29 14:36 MST (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 17.11.1 18.08.0-pre1
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
   binaries.

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.