This is an automated email from the ASF dual-hosted git repository.

cjolivier01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new fbbc080  Fixed indentation and added test outputs to gitignore (#9875)
fbbc080 is described below

commit fbbc080d47323dbc23eef4a1453452624cea859b
Author: David Braude <dabra...@gmail.com>
AuthorDate: Fri Feb 23 23:49:07 2018 +0000

    Fixed indentation and added test outputs to gitignore (#9875)
    
    * added test output files to gitignore
    
    * corrected indentation
---
 .gitignore     | 6 ++++++
 CMakeLists.txt | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index b3fc89d..6be98c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,3 +159,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 be41f8b..16d3653 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})

-- 
To stop receiving notification emails like this one, please contact
cjolivie...@apache.org.

Reply via email to