nixpkgs/pkgs/development/interpreters/python/cpython
Frederik Rietdijk 4087d3fe41 python: don't use optimizations on Darwin
Also, don't use autoreconfHook on Darwin with Python 3.
Darwin builds are still impure and fail with

    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: object file (/nix/store/0lsij4jl35bnhqhdzla8md6xiswgig5q-Libsystem-osx-10.12.6/lib/crt1.10.6.o) was built for newer OSX version (10.12) than being linked (10.6)
    DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    if test $? -ne 0 ; then \
            echo "generate-posix-vars failed" ; \
            rm -f ./pybuilddir.txt ; \
            exit 1 ; \
    fi
    /nix/store/dsb7d4dwxk6bzlm845z2zx6wp9a8bqc1-bash-4.4-p23/bin/bash: line 5: 72015 Killed: 9               DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars
    generate-posix-vars failed
    make: *** [Makefile:592: pybuilddir.txt] Error 1
2020-06-12 18:29:08 +02:00
..
2.7 python: don't use optimizations on Darwin 2020-06-12 18:29:08 +02:00
3.5 cpython: Use --enable-optimizations, for a 16% speedup. 2020-05-11 23:37:04 -07:00
3.6 cpython: Use --enable-optimizations, for a 16% speedup. 2020-05-11 23:37:04 -07:00
3.7 python: Fix creating RPMs from Python packages 2020-05-09 11:15:28 +02:00
3.8 python38: init at 3.8.0b2 2019-07-09 15:31:37 +02:00
3.9 python39: init at 3.9.0a1 2019-11-20 09:42:27 +01:00
docs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
default.nix python: don't use optimizations on Darwin 2020-06-12 18:29:08 +02:00