Git Product home page Git Product logo

windows-wheel-builder's Introduction

Numpy Windows wheel builder

No longer maintained. This is the wrong repo, do not use it.

Build numpy wheels with MSVC and pre-built ATLAS binaries.

See appveyor.yml for the build process as applied on Appveyor.

If you are doing the build manually:

  • Make a virtualenv to work in, and activate it;

  • pip install -r requirements.txt;

  • To build a wheel with old-style Windows platform tags (more compatible with old versions of pip), do pip install wheel==0.26;

  • Clone the numpy github repo, checkout the version you want to build, and run the build script:

    git clone https://github.com/numpy/numpy.git
    cd numpy
    git checkout v1.11.0
    python ..\build_numpy.py
    

This should build you a numpy wheel with the ATLAS binary packaged inside. It will be in the dist subdirectory of the numpy source tree.

The appveyor.yml script uploades the wheels to a Rackspace container at:

The contents via the HTTPS URL seems to get updated more slowly than via the HTTP URL, so if you need the binaries quickly, prefer the HTTP URL.

Also, the Rackspace CDN takes some time to update, so leave at least 15 minutes after the end of a build, before fetching the built binary from the Rackspace URLs above.

ATLAS libraries built laboriously on a dedicated machine with Clint Whaley's help.

lib and exp files generated by MSVC lib.exe tool, as described here: http://stackoverflow.com/questions/9946322/how-to-generate-an-import-library-lib-file-from-a-dll

windows-wheel-builder's People

Contributors

charris avatar matthew-brett avatar mattip avatar rgommers avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows-wheel-builder's Issues

Atlas 3.11.39 failed to build

I am on windows 10 compiling Atlas 3.11.39 with cygwin 64 bit with gcc and fortran installed (no mingw), i am using modified 3.11.38 Atlas install script, but the build seems failed at :

BEGIN STAGE 1-0-0: SYSTEM PROBE/AUX COMPILE at 04:03
make[2]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make ITprim
make[3]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make[3]: *** No rule to make target 'Tprim_win64', needed by 'ITprim'.  Stop.
make[3]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make[2]: *** [Makefile:189: IStage1] Error 2
make[2]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
ERROR 608 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
make[2]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
cd /home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full ; make error_report
make[3]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make -f Make.top error_report
make[4]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
/bin/gcc.exe -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
Using built-in specs.
COLLECT_GCC=/bin/gcc
COLLECT_LTO_WRAPPER=/bin/../lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)
/bin/gcc.exe -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: error: unrecognized command line option ‘-V’
gcc: fatal error: no input files
compilation terminated.
make[4]: [Make.top:6: error_report] Error 1 (ignored)
/bin/gcc.exe --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_x86x8764SSE3.tar Make.inc bin/INSTALL_LOG/*
bzip2 error_x86x8764SSE3.tar
make[4]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make[3]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make[2]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory.  Be sure to include this file in any help request.
cat: ../../CONFIG/error.txt: No such file or directory
cat: ../../CONFIG/error.txt: No such file or directory
make[1]: *** [Make.top:16: build] Error 255
make[1]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make: *** [Makefile:555: build] Error 2

gcc version :

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

gfortran version

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

Tried to change the configure option to bare minimal ./configure -b 64 but still it failed. Anyone has a fix?.

Already tried

  • Using gcc and gfortran v 5.3.5 but still failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.