Skip to content

Commit 2445bd4

Browse files
marcoabreuJin Huang
authored and
Jin Huang
committed
CI docker revamp; Add Jetson, Raspberry and CentOS 7 build [MXNET-42][MXNET-43] (apache#9995)
* Start dockerfile revamp * Fix lint * Fix lint * Fix lint * Add python unit test * Add new dependency * Add user creation * Fix file permission * Determine USER_ID automatically * REmove ENV command in dockerfile * Remove python nose timer, improve useradd * ENable nvidia docker * Add remaining unittests * Add CentOS 7 unittests * Add integration tests * Add TVM and LLVM to dockerfile * Add ARMv7 and ARMv8 to build * Fix amalgamation build * Improvements and android_arm64 fixes, missing removing pthread * Jetson fix (install unzip) * Build jetson with make until issue with libomp.so is resolved apache#10011 * Fix Amalgamation builds * Fix Jetson build by switching to cmake * Assign CentOS gpu test to gpu instance * Fix R builds * Assign jobs to right docker containers * Fix missing file permissions inside docker * Create homedir on centos * Enable lapack * Fix Lapack on Cent OS 7 * Disable MXNET_MKLDNN_DEBUG * Delete Dockerfiles * Last general refinements before finish * Remove docker_multiarch folder, superseeded by the new ci scripts * Address review comments * Fix Caffe Integrationstest * Fix deploy stage * Address review comments * Address review comments * Enable script to run on Mac
1 parent cd8deff commit 2445bd4

File tree

90 files changed

+1889
-1941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1889
-1941
lines changed

.mxnet_root

Whitespace-only changes.

CMakeLists.txt

+9-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ mxnet_option(USE_NCCL "Use NVidia NCCL with CUDA" OFF)
1515
mxnet_option(USE_OPENCV "Build with OpenCV support" ON)
1616
mxnet_option(USE_OPENMP "Build with Openmp support" ON)
1717
mxnet_option(USE_CUDNN "Build with cudnn support" ON) # one could set CUDNN_ROOT for search path
18+
mxnet_option(USE_SSE "Build with x86 SSE instruction support" AUTO)
1819
mxnet_option(USE_LAPACK "Build with lapack support" ON IF NOT MSVC)
1920
mxnet_option(USE_MKL_IF_AVAILABLE "Use MKL if found" ON)
2021
mxnet_option(USE_MKLML_MKL "Use MKLDNN variant of MKL (if MKL found)" ON IF USE_MKL_IF_AVAILABLE AND UNIX AND (NOT APPLE))
@@ -90,11 +91,17 @@ if(MSVC)
9091
else(MSVC)
9192
include(CheckCXXCompilerFlag)
9293
if(USE_CXX14_IF_AVAILABLE)
93-
check_cxx_compiler_flag("-std=c++14" SUPPORT_CXX14)
94+
check_cxx_compiler_flag("-std=c++14" SUPPORT_CXX14)
9495
endif()
9596
check_cxx_compiler_flag("-std=c++11" SUPPORT_CXX11)
9697
check_cxx_compiler_flag("-std=c++0x" SUPPORT_CXX0X)
97-
check_cxx_compiler_flag("-msse2" SUPPORT_MSSE2)
98+
# For cross compilation, we can't rely on the compiler which accepts the flag, but mshadow will
99+
# add platform specific includes not available in other arches
100+
if(USE_SSE STREQUAL "AUTO")
101+
check_cxx_compiler_flag("-msse2" SUPPORT_MSSE2)
102+
else()
103+
set(SUPPORT_MSSE2 FALSE)
104+
endif()
98105
set(CMAKE_C_FLAGS "-Wall -Wno-unknown-pragmas -fPIC -Wno-sign-compare")
99106
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang$")
100107
set(CMAKE_C_FLAGS "-Wno-braced-scalar-init")

0 commit comments

Comments
 (0)