cjolivier01 closed pull request #9875: Fixed indentation and added test outputs 
to gitignore
URL: https://github.com/apache/incubator-mxnet/pull/9875
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.gitignore b/.gitignore
index 9d2e8944f4..3bf823065c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -158,3 +158,9 @@ model/
 python/mxnet/symbol/gen_*
 python/mxnet/ndarray/gen_*
 python/.eggs
+
+# tests if built insource
+*CTestTestfile.cmake
+*DartConfiguration.tcl
+tests/Makefile
+tests/mxnet_unit_tests
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be41f8b0c7..16d365355c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -154,12 +154,12 @@ if(USE_MKL_IF_AVAILABLE)
     list(APPEND mxnet_LINKER_LIBS mkldnn)
     set(MKL_FOUND TRUE)
   else()
-  find_package(MKL)
+    find_package(MKL)
   endif()
   if(MKL_FOUND)
     include_directories(${MKL_INCLUDE_DIR})
     include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/operator/mkl)
-       add_definitions(-DMXNET_USE_MKLDNN=1)
+    add_definitions(-DMXNET_USE_MKLDNN=1)
     add_definitions(-DUSE_MKL=1)
     add_definitions(-DCUB_MKL=1)
     list(APPEND mxnet_LINKER_LIBS ${MKL_LIBRARIES})


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to