[Feature | CI] Added a github action to build wheels (#746)

This commit is contained in:
Daniel
2023-08-21 16:59:15 +09:00
committed by GitHub
parent 0c04ce3234
commit c393af6cd7
6 changed files with 224 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
python_executable=python$1
cuda_home=/usr/local/cuda-$2
# Update paths
PATH=${cuda_home}/bin:$PATH
LD_LIBRARY_PATH=${cuda_home}/lib64:$LD_LIBRARY_PATH
# Install requirements
$python_executable -m pip install wheel packaging
$python_executable -m pip install -r requirements.txt
# Build
$python_executable setup.py bdist_wheel --dist-dir=dist