Skip to content

Per package CPU optimized CFLAGS #305

Description

@vizanto

Optionally compiling certain packages optimized for your CPU, in a pure way allowing the nix store to be shared across machines would be very nice to have.

Discussion on the mailinglist:
http://lists.science.uu.nl/pipermail/nix-dev/2013-February/010604.html

Make sure -O${optimizationLevel} -march=native -mtune=native gets evaluated on the machine requesting a build while allowing build servers to do the actual compiling ( __preferLocalBuild ? )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions