"git@developer.sourcefind.cn:OpenDAS/torch-harmonics.git" did not exist on "00064117ddbfb0160a303b11e9ea63cc44ea159c"
Unverified Commit 8c71628e authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Update build from source doc to use the script in linux. (#5537)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent 89309888
...@@ -60,25 +60,17 @@ For Fedora/RHEL/CentOS users, run: ...@@ -60,25 +60,17 @@ For Fedora/RHEL/CentOS users, run:
sudo yum install -y gcc-c++ python3-devel make cmake sudo yum install -y gcc-c++ python3-devel make cmake
Build the shared library. Use the configuration template ``cmake/config.cmake``. Create conda environment for development, run:
Copy it to either the project directory or the build directory and change the
configuration as you wish. For example, change ``USE_CUDA`` to ``ON`` will
enable a CUDA build. You could also pass ``-DKEY=VALUE`` to the cmake command
for the same purpose.
* CPU-only build:: .. code:: bash
mkdir build bash script/create_dev_conda_env.sh -h
cd build
cmake ..
make -j4
* CUDA build:: Build the shared library, run:
.. code:: bash
mkdir build bash script/build_dgl.sh -h
cd build
cmake -DUSE_CUDA=ON ..
make -j4
Finally, install the Python binding. Finally, install the Python binding.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment