lustre build system overhaul (LU-1199)

[LU-3476] Eliminate bad macros in lustre spec file Created: 14/Jun/13  Updated: 08/Oct/13  Resolved: 21/Aug/13

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

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

Issue Links:
Duplicate
is duplicated by LU-3960 Eliminate bad macros in lustre spec file Closed
Rank (Obsolete): 8716

 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 Peter Jones [ 15/Jun/13 ]

Minh

Could you please look into this one?

Thanks

Peter

Comment by Minh Diep [ 02/Jul/13 ]

patch http://review.whamcloud.com/#/c/6856/

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