Skip to content

Commit 5e17ef5

Browse files
authored
[Release] Fix Conda CMake flags (#907)
* [Release] Fix CMake flags * more fix
1 parent 8c20c66 commit 5e17ef5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

conda/dgl/bld.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
REM Needs vcvars64.bat to be called
22
git submodule init
3-
git submodule update
3+
git submodule update --recursive
44
md build
55
cd build
6-
cmake -DUSE_CUDA=%USE_CUDA% -DUSE_OPENMP=ON -DCUDA_ARCH_NAME=All -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" .. -G "Visual Studio 15 2017 Win64" || EXIT /B 1
6+
cmake -DUSE_CUDA=%USE_CUDA% -DUSE_OPENMP=ON -DCUDA_ARCH_NAME=All -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" -DDMLC_FORCE_SHARED_CRT=ON .. -G "Visual Studio 15 2017 Win64" || EXIT /B 1
77
msbuild dgl.sln || EXIT /B 1
88
COPY Release\dgl.dll .
99
cd ..\python

conda/dgl/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
git submodule init
2-
git submodule update
2+
git submodule update --recursive
33
mkdir build
44
cd build
55
cmake -DUSE_CUDA=$USE_CUDA -DUSE_OPENMP=ON -DCUDA_ARCH_NAME=All ..

0 commit comments

Comments
 (0)