Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
b9bb640a
Unverified
Commit
b9bb640a
authored
Aug 04, 2023
by
Hongzhi (Steve), Chen
Committed by
GitHub
Aug 04, 2023
Browse files
Revert "[Misc] clean up remove --inplace." (#6097)
parent
e0aa8389
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
docs/source/contribute.rst
docs/source/contribute.rst
+1
-1
tests/scripts/build_dgl.sh
tests/scripts/build_dgl.sh
+4
-4
No files found.
docs/source/contribute.rst
View file @
b9bb640a
...
@@ -202,7 +202,7 @@ If you are working on performance critical part, you may want to turn on Cython
...
@@ -202,7 +202,7 @@ If you are working on performance critical part, you may want to turn on Cython
.. code-block:: bash
.. code-block:: bash
cd python
cd python
python setup.py build_ext
python setup.py build_ext
--inplace
You could test the build by running the following command and see the path of your local clone.
You could test the build by running the following command and see the path of your local clone.
...
...
tests/scripts/build_dgl.sh
View file @
b9bb640a
...
@@ -45,8 +45,8 @@ if [[ $1 == "cugraph" ]]; then
...
@@ -45,8 +45,8 @@ if [[ $1 == "cugraph" ]]; then
pip uninstall
-y
dgl
pip uninstall
-y
dgl
# test install
# test install
python3 setup.py
install
python3 setup.py
install
# test build (for cython)
# test
inplace
build (for cython)
python3 setup.py build_ext
python3 setup.py build_ext
--inplace
else
else
for
backend
in
pytorch mxnet tensorflow
for
backend
in
pytorch mxnet tensorflow
do
do
...
@@ -55,8 +55,8 @@ else
...
@@ -55,8 +55,8 @@ else
pip uninstall
-y
dgl
pip uninstall
-y
dgl
# test install
# test install
python3 setup.py
install
python3 setup.py
install
# test build (for cython)
# test
inplace
build (for cython)
python3 setup.py build_ext
python3 setup.py build_ext
--inplace
done
done
fi
fi
popd
popd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment