Skip to content

Include flags from environment variables set externally #812

@jakirkham

Description

@jakirkham

In build systems (like conda-forge), some flags like CXXFLAGS are set as part of the build process to provide consistency across package builds and point to standard locations that may be part of the build system

IIUC it looks like scalene sets its own CXXFLAGS and doesn't pick up these values from the environment

CXXFLAGS = -std=c++14 -Wall -g -O3 -DNDEBUG -D_REENTRANT=1 -DHL_USE_XXREALLOC=1 -pipe -fno-builtin-malloc -fvisibility=hidden -Wno-unused-result

CXXFLAGS = /Ox /DNDEBUG /std:c++14 /Zi

Would it be possible for scalene to inherit environment variables set outside make and prepend/append to them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions