Bumped the build number to 1000 again
@@ -21,13 +21,13 @@ source:
{% set export = "set" %} # [win]
build:
- number: 0
+ number: 1000
# Thiss recipe needs a few things to build a useful output:
# 1. New compilers. Not available on staged-recipes
# 2. Extra time on Travis. Will need to request this seperately for the feedstock anyway
# Alternatively, we can build OSX on Azure.
# 3. VS2017 for Windows (Pytorch refuses to build with MSVC2015 due to poor C++11 support)
- skip: true
+ skip: true # [not linux]
# Needs modern GCC, the ones in conda-forge are too old
{% if 'toolchain' in compiler('cxx') %}skip: True{% endif %} # Only build with modern compilers.
# Support for Windows and Python 2.7 is very experimental
@@ -47,6 +47,10 @@ build:
- {{ export }} PYTORCH_BUILD_VERSION={{ PKG_VERSION }}
- {{ export }} PYTORCH_BUILD_NUMBER={{ PKG_BUILDNUM }}
- {{ export }} BUILD_CUSTOM_PROTOBUF=OFF
+ # I'm pretty sure I only need this flag because I don't include the
+ # package that provides unix-like headers for windows.
+ # I forget its name now.
+ - {{ export }} GEN_TO_SOURCE=1 # [win]
# Why are all warnings treated as errors???
- export CXXFLAGS="-Wno-error=unused-result $CXXFLAGS" # [linux]
- export CFLAGS="-Wno-error=unused-result $CFLAGS" # [linux]
