Skip to content

Commit 0f7a6a6

Browse files
committed
Add change to bridge cmake file. Need help from Chapel team.
1 parent f94d02a commit 0f7a6a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bridge/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set(PYTORCH_INSTALL_DIR "${PROJECT_BINARY_DIR}/pytorch-install")
3131
set(PYTORCH_BUILD_DIR "${PROJECT_BINARY_DIR}/pytorch-prefix/src/pytorch-build")
3232

3333
set(PYTORCH_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/pytorch-install-prefix")
34-
file(MAKE_DIRECTORY "${PYTORCH_INSTALL_PREFIX}")
34+
# file(MAKE_DIRECTORY "${PYTORCH_INSTALL_PREFIX}")
3535

3636
# ExternalProject_Add can fetch from Git, a local path, or a release tarball.
3737
# Here, for simplicity, we'll fetch from Git. In practice, you might want
@@ -69,10 +69,10 @@ ExternalProject_Add(
6969
# -DUSE_STATIC_MKL=ON
7070
# -DSTATIC_DISPATCH_BACKEND=ON
7171
# -DCAFFE2_USE_MSVC_STATIC_RUNTIME=ON
72-
-DUSE_DISTRIBUTED=ON
72+
# -DUSE_DISTRIBUTED=ON
7373
-DCMAKE_BUILD_TYPE=Release
74-
-DCMAKE_INSTALL_PREFIX=${PYTORCH_INSTALL_PREFIX}
75-
# -DCMAKE_POLICY_VERSION_MINIMUM=3.5
74+
-DCMAKE_INSTALL_PREFIX=${PYTORCH_INSTALL_DIR}
75+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
7676

7777
INSTALL_DIR ${PYTORCH_INSTALL_DIR} # Where to install
7878

0 commit comments

Comments
 (0)