Menu

#23 Allow compiling different WM_LABEL_SIZE in the same source tree

1.0
open
nobody
None
2019-02-04
2019-01-23
No

This was inspired by the discussion in https://sourceforge.net/p/foam-extend/tickets/21/ where it seems that changing WM_LABEL_SIZE overwrites the existing binaries (with possible mixing problems)

To avoid that it would be good if in etc/settings.sh the line

export WM_OPTIONS=$WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_COMPILE_OPTION

is changed to

export WM_LABEL_OPTION="Int$WM_LABEL_SIZE"
export WM_OPTIONS="$WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_LABEL_OPTION$WM_COMPILE_OPTION"

like the other distros do it.

Didn't want to do a merge request for this one-liner

Discussion

  • Henrik Rusche

    Henrik Rusche - 2019-01-23

    Hi Bernhard,
    thanks for having a look into this. To be consistent, we also need to add INT-versioning to the relevant ThirdParty packages. That's why I did not do it initially ... However, now that I changed the SPEC-files, this can be added.
    Henrik

     
  • Henrik Rusche

    Henrik Rusche - 2019-02-04

    Done in Merge Request #98. Can we close this?

     

Log in to post a comment.