Skip to content

Make it work on Macintosh #787

@citibeth

Description

@citibeth

EasyBuild has the basic stuff needed to work on a Mac; but a number of small details thwart that effort. They are currently:

  1. GCC does not build, don't know why. (Workaround is to build the toolchain via MacPorts; more on that later).

  2. The Mac uses .dylib instead of .so for shared library extensions. Basic functionality for this has been put into EasyBuild, but it is not yet being used. Numerous easyconfigs and easyblocks need to be modified to fix this problem. The changes generally go as follows:
    a) In an easyblock:

    from easybuild.tools.systemtools import get_shared_lib_ext
            SHLIB_EXT = get_shared_lib_ext()
    ...use it like:   ["lib/libhdf5%s.%s" % (x,SHLIB_EXT)
    

    b) In an easyconfig: the SHLIB_EXT constant is already defined, just use as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions