lustre build system improvments (LU-3953)

[LU-3960] Eliminate bad macros in lustre spec file Created: 16/Sep/13  Updated: 21/Oct/13  Resolved: 21/Oct/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Christopher Morrone Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-3476 Eliminate bad macros in lustre spec file Closed
Rank (Obsolete): 10530

 Description   

We should really eliminate all of lustre spec file's non-standard use of build_* macros (e.g. build_lustre_osd_ldiskfs) and replace them with rpmbuild's standard -with/-without mechanisms. In fact that goes for any and all binary options we use in the spec file.

If we use the standard mechanisms for this stuff, our rpmbuild command line becomes much cleaner. For instance, this:

rpmbuild --define "build_lustre_osd_ldiskfs 1"

would become

rpmbuild --with ldiskfs

And skipping the build of the server components changes from:

rpmbuild --define "lustre_name lustre-client"

to

rpmbuild --without server


 Comments   
Comment by Jodi Levi (Inactive) [ 21/Oct/13 ]

Removed 2.5 FixVersion

Generated at Sat Feb 10 01:38:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.