-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from AnacondaRecipes/update-1.9.1-downloads
Update 1.9.1 downloads
- Loading branch information
Showing
9 changed files
with
204 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7b5a12610..e00d318fe 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -7,7 +7,7 @@ if(CMAKE_CROSSCOMPILING) | ||
endif() | ||
|
||
project(mxnet C CXX) | ||
-set(CMAKE_CXX_STANDARD 11) | ||
+set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS ON) | ||
|
||
@@ -791,7 +791,7 @@ elseif(MSVC) | ||
target_link_libraries(mxnet PUBLIC mshadow) | ||
if(MXNET_FORCE_SHARED_CRT) | ||
target_compile_options( | ||
- mxnet | ||
+ mxnet | ||
PRIVATE "$<$<AND:$<CONFIG:DEBUG>,$<COMPILE_LANGUAGE:CUDA>>:-Xcompiler=-MDd -Gy /bigobj>") | ||
target_compile_options( | ||
mxnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/python/setup.py b/python/setup.py | ||
index dcd84cef1..bf2b7d58a 100644 | ||
--- a/python/setup.py | ||
+++ b/python/setup.py | ||
@@ -30,7 +30,8 @@ if "--inplace" in sys.argv: | ||
else: | ||
from setuptools import setup | ||
from setuptools.extension import Extension | ||
- kwargs = {'install_requires': ['numpy>1.16.0,<2.0.0', 'requests>=2.20.0,<3', 'graphviz<0.9.0,>=0.8.1'], 'zip_safe': False} | ||
+ # Make graphviz optional: | ||
+ kwargs = {'install_requires': ['numpy>1.16.0,<2.0.0', 'requests>=2.20.0,<3'], 'zip_safe': False, 'extras_require': {'graphviz': ['graphviz<0.9.0,>=0.8.1']}} | ||
|
||
with_cython = False | ||
if '--with-cython' in sys.argv: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index ed6e069..c147535 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -37,9 +37,9 @@ endif(NOT CMAKE_BUILD_TYPE) | ||
# Note: not working on CMake 2.8. We assume that user has | ||
# a compiler with C++11 support. | ||
|
||
-set(CMAKE_CXX_STANDARD 11) | ||
+set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
-message(STATUS "C++11 support has been enabled by default.") | ||
+message(STATUS "C++14 support has been enabled by default.") | ||
|
||
option(BUILD_DOCS "Set to ON to build documentation" OFF) | ||
option(BUILD_MOCK "Build mock executable" ON) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index d1885f5..fb497ad 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -8,7 +8,7 @@ if(NOT CMAKE_BUILD_TYPE) | ||
set(CMAKE_BUILD_TYPE Release) | ||
endif() | ||
|
||
-set(CMAKE_CXX_STANDARD 11) | ||
+set(CMAKE_CXX_STANDARD 14) | ||
|
||
if(MSVC) | ||
add_compile_options(/W4 /WX) |