-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs
base: c76f8d9c7ab0
head repository: NixOS/nixpkgs
compare: afd2bdbad25d
Commits on Jun 22, 2017
-
cc-wrapper: Remove
stdenv.is*
fortargetPlatform.is*
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
Configuration menu - View commit details
-
Copy full SHA for c4ba2e3 - Browse repository at this point
Copy the full SHA c4ba2e3View commit details -
cc-wrapper: Learn about target prefixes
This is first step towards getting rid of gcc-wrapper-cross
Configuration menu - View commit details
-
Copy full SHA for 459f1c6 - Browse repository at this point
Copy the full SHA 459f1c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d70e726 - Browse repository at this point
Copy the full SHA d70e726View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a3cad - Browse repository at this point
Copy the full SHA 04a3cadView commit details -
cc-wrapper: Salt environment variables with LLVM triples
We now (on cross) require per-target flag interposition by putting the triple in the names of the relevant environment variables, e.g: export NIX_arm_unknown_linux_gnu_CFLAGS_COMPILE=... The wrapper also has a `infixSalt` attribute (and "_" prefixed and suffixed variants) to assist downstream packages. Note how that the dashes are replaced to keep the identifier valid. Using names like this allows us to keep the settings for different compilers seperate. I think it might be even better to use names like `NIX_{BUILD,HOST}...` using the platform's role rather than the platform itself, but this would be more work as the previous stages' tools would have to be re- wrapped to take on their new role. I therefore didn't do this for now, but that route should be thoroughly explored in the future.
Configuration menu - View commit details
-
Copy full SHA for 0f03833 - Browse repository at this point
Copy the full SHA 0f03833View commit details -
cc-wrapper: Temporarily got to great lengths to avoid mass-rebuild
Eventually we should avoid this "pre-wrapping" and just update those files in nixpkgs. This mass-rebuild change is best done along with those needed to reduce the disparity between native and cross (i.e. making native the "identity cross").
Configuration menu - View commit details
-
Copy full SHA for 8a7433f - Browse repository at this point
Copy the full SHA 8a7433fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 121e7d9 - Browse repository at this point
Copy the full SHA 121e7d9View commit details -
cross stdenv adaptor: Remove
ccCross
binutils
attrs and binutils ……extra buildDepends It now has the correct wrapped tools and nothing else is needed.
Configuration menu - View commit details
-
Copy full SHA for 9bfd03e - Browse repository at this point
Copy the full SHA 9bfd03eView commit details -
cross stdenv adaptor: Support --host --build --target across the board
Packages get --host and --target by default, but can explicitly request any subset to be passed as needed. See docs for more info. rustc: Avoid hash breakage by using the old (ignored) dontSetConfigureCross when not cross building
Configuration menu - View commit details
-
Copy full SHA for 594d264 - Browse repository at this point
Copy the full SHA 594d264View commit details -
cross stdenv adaptor: Disable checkPhase by default
Before gcc-cross-wrapper did this unconditionally
Configuration menu - View commit details
-
Copy full SHA for e0492d5 - Browse repository at this point
Copy the full SHA e0492d5View commit details -
cc-wrapper: when cross building, wedge in setting AR, AS, and LD env …
…vars to their cross building versions I think it's ok to export things which aren't wrapped. The cc-wrapper can be thought of as responsible for all of binutils and the c compiler, only wrapping those binaries which are necessary to interposition---as opposed to all binaries it thinks are relevaant. Conversely, adding the setup hook to the unwrapped compilers would be unforunate as hooks are ugly hacks and the compilers themselves take a long time to rebuild. Better to wholely separate "pure packages" from hacks.
Configuration menu - View commit details
-
Copy full SHA for c1fb71b - Browse repository at this point
Copy the full SHA c1fb71bView commit details -
cc-wrapper: Make the cross compiler use a crossEnvHook
This is a hack until stdenv's setup.hs gets overhauled
Configuration menu - View commit details
-
Copy full SHA for 0aee847 - Browse repository at this point
Copy the full SHA 0aee847View commit details -
cc-wrapper: Port over finding of dynamic linker from gcc-cross-wrapper
At the next break, we can deduplicate and go for the best of both worlds.
Configuration menu - View commit details
-
Copy full SHA for c2e2152 - Browse repository at this point
Copy the full SHA c2e2152View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7067f - Browse repository at this point
Copy the full SHA bb7067fView commit details -
mingw-w64: Depend on own headers derivation
Without this, a `#include <float.h>` resolves incorrectly. Either the headers weren't on the include path at all, or they only were for local, not system, imports. What's weird is this used to not be a problem. Not sure what other change in e.g. cc-wrapper would affect this.
Configuration menu - View commit details
-
Copy full SHA for fc42ec0 - Browse repository at this point
Copy the full SHA fc42ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f55ccbb - Browse repository at this point
Copy the full SHA f55ccbbView commit details -
Bunch of junk for linux and cross compilation that's no longer needed
Configuration menu - View commit details
-
Copy full SHA for 29c4d7f - Browse repository at this point
Copy the full SHA 29c4d7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d016637 - Browse repository at this point
Copy the full SHA d016637View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12795a7 - Browse repository at this point
Copy the full SHA 12795a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b2bd2 - Browse repository at this point
Copy the full SHA 38b2bd2View commit details -
zlib: don't really override CC at ay point
but leave the preConfigure script as it was when not cross building in order to avoid hash breakage
Configuration menu - View commit details
-
Copy full SHA for f63f96a - Browse repository at this point
Copy the full SHA f63f96aView commit details -
coreutils: Modernize and fix for cross
"--host=..." needs to be passed but crossAttrs overrides that.
Configuration menu - View commit details
-
Copy full SHA for 167b80b - Browse repository at this point
Copy the full SHA 167b80bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b22e49 - Browse repository at this point
Copy the full SHA 8b22e49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05b3c87 - Browse repository at this point
Copy the full SHA 05b3c87View commit details -
6
Configuration menu - View commit details
-
Copy full SHA for 7bdacad - Browse repository at this point
Copy the full SHA 7bdacadView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0b07e - Browse repository at this point
Copy the full SHA ef0b07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f75ad79 - Browse repository at this point
Copy the full SHA f75ad79View commit details -
mpfs: Fix for cross by disabling check
check phase is now only disabled by *default* for cross, but mpfr was forcing it always.
Configuration menu - View commit details
-
Copy full SHA for c54c3cb - Browse repository at this point
Copy the full SHA c54c3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e337fe - Browse repository at this point
Copy the full SHA 2e337feView commit details -
Configuration menu - View commit details
-
Copy full SHA for af8d1a4 - Browse repository at this point
Copy the full SHA af8d1a4View commit details -
libsigsegv: Fix for cross by disabling check
Check phase is now only disabled *by default* for cross, but this package was forcing it unconditionally.
Configuration menu - View commit details
-
Copy full SHA for b93e603 - Browse repository at this point
Copy the full SHA b93e603View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff6ab1b - Browse repository at this point
Copy the full SHA ff6ab1bView commit details -
libpmc: Fix for cross by disabling check
Check phase is now only disabled *by default* for cross, but this package was forcing it unconditionally.
Configuration menu - View commit details
-
Copy full SHA for 5408962 - Browse repository at this point
Copy the full SHA 5408962View commit details -
Configuration menu - View commit details
-
Copy full SHA for d710c2d - Browse repository at this point
Copy the full SHA d710c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bef622a - Browse repository at this point
Copy the full SHA bef622aView commit details -
ddrescue: modernize and fix cross (hopefully)
Carefully do not add attributes for cross unless in cross, to avoid hash breakage
Configuration menu - View commit details
-
Copy full SHA for be3f18d - Browse repository at this point
Copy the full SHA be3f18dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 502902f - Browse repository at this point
Copy the full SHA 502902fView commit details -
mpg123: Modernize and fix for cross
Do not even think about configureFlags unless in cross, to avoid hash breaking when not in cross.
Configuration menu - View commit details
-
Copy full SHA for 7c754b1 - Browse repository at this point
Copy the full SHA 7c754b1View commit details -
gcc5: set --build and --host in the case where those differ and make …
…sure to have a build cc-wrapper around as well
Configuration menu - View commit details
-
Copy full SHA for 198dcec - Browse repository at this point
Copy the full SHA 198dcecView commit details
Commits on Jun 23, 2017
-
Merge pull request #26007 from obsidiansystems/cc-wrapper-prefix
Get rid of gcc-cross-wrapper
Configuration menu - View commit details
-
Copy full SHA for afd2bdb - Browse repository at this point
Copy the full SHA afd2bdbView commit details
There are no files selected for viewing