File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ $(SGX_DNNL_INCLUDE):
76
76
77
77
.PHONY : dnnl_src
78
78
dnnl_src :
79
- # ifeq ($(shell git rev-parse --is-inside-work-tree), true)
80
- # @$(RM) -r $(DNNL_DIR)/*
81
- # git submodule update -f --init dnnl
82
- # cd $(DNNL_DIR) && git am ../sgx_dnnl.patch
83
- # else
79
+ ifeq ($(shell git rev-parse --is-inside-work-tree) , true)
80
+ @$(RM) -r $(DNNL_DIR)/*
81
+ git submodule update -f --init dnnl
82
+ cd $(DNNL_DIR) && git am ../sgx_dnnl.patch
83
+ else
84
84
@$(RM) -r $(DNNL_DIR)
85
85
git clone https://github.com/intel/mkl-dnn.git -b v1.1.1 --depth 1 $(DNNL_DIR)
86
86
cd $(DNNL_DIR) && git am ../sgx_dnnl.patch
87
- # endif
87
+ endif
88
88
89
89
$(LIBDNNL ) :$(CHECK_SOURCE )
90
90
mkdir -p $(DNNL_DIR ) /build && cd $(DNNL_DIR ) /build && cmake -DCMAKE_CXX_ENCLAVE_FLAGS=" $( CXX_ENCLAVE_FLAGS) " -DCMAKE_C_ENCLAVE_FLAGS=" $( C_ENCLAVE_FLAGS) " $(DNNL_CONFIG ) .. && make
Original file line number Diff line number Diff line change @@ -56,13 +56,12 @@ $(BUILD_DIR):
56
56
57
57
.PHONY : omp_code
58
58
omp_code :
59
- # # Need to enable below code when release
60
- # ifeq ($(shell git rev-parse --is-inside-work-tree 2> /dev/null), true)
61
- # git submodule update -f --init --recursive --remote -- $(OMP_DIR)
62
- # else
59
+ ifeq ($(shell git rev-parse --is-inside-work-tree 2> /dev/null) , true)
60
+ git submodule update -f --init --recursive --remote -- $(OMP_DIR)
61
+ else
63
62
$(RM) -rf openmp_code
64
63
git clone -b svn-tags/RELEASE_801 https://github.com/llvm-mirror/openmp.git --depth 1 $(OMP_DIR)
65
- # endif
64
+ endif
66
65
67
66
68
67
$(LIBOMP ) : $(CHECK_SOURCE )
You can’t perform that action at this time.
0 commit comments