Skip to content

Commit

Permalink
[Release] Fix Conda CMake flags (#907)
Browse files Browse the repository at this point in the history
* [Release] Fix CMake flags

* more fix
  • Loading branch information
BarclayII authored Oct 7, 2019
1 parent 8c20c66 commit 5e17ef5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conda/dgl/bld.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
REM Needs vcvars64.bat to be called
git submodule init
git submodule update
git submodule update --recursive
md build
cd build
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
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
msbuild dgl.sln || EXIT /B 1
COPY Release\dgl.dll .
cd ..\python
Expand Down
2 changes: 1 addition & 1 deletion conda/dgl/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git submodule init
git submodule update
git submodule update --recursive
mkdir build
cd build
cmake -DUSE_CUDA=$USE_CUDA -DUSE_OPENMP=ON -DCUDA_ARCH_NAME=All ..
Expand Down

0 comments on commit 5e17ef5

Please sign in to comment.