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
torch-spline-conv
Commits
40196a97
Commit
40196a97
authored
Jun 25, 2021
by
rusty1s
Browse files
[skip ci] build conda
parent
7a3ba424
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+4
-4
conda/pytorch-spline-conv/build_conda.sh
conda/pytorch-spline-conv/build_conda.sh
+1
-1
No files found.
.github/workflows/building-conda.yml
View file @
40196a97
...
...
@@ -35,7 +35,7 @@ jobs:
-
name
:
Install Conda packages
run
:
|
conda install conda-build conda-verify anaconda-client
conda install conda-build conda-verify anaconda-client
--yes
-
name
:
Install CUDA ${{ matrix.cuda-version }}
if
:
${{ matrix.cuda-version != 'cpu' }}
...
...
@@ -45,7 +45,7 @@ jobs:
-
name
:
Build Conda package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
FORCE_ONLY_CPU=1
source
./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_ONLY_CPU=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell
:
bash
...
...
@@ -53,10 +53,10 @@ jobs:
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1
source
./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell
:
bash
# - name: Publish Conda package
# run: |
# anaconda upload
/usr/share/miniconda
/conda-bld/*/*.tar.bz2 --token ${{ secrets.ANACONDA_TOKEN }}
# anaconda upload
-t ${{ secrets.ANACONDA_TOKEN }} $HOME
/conda-bld/*/*.tar.bz2 --token ${{ secrets.ANACONDA_TOKEN }}
conda/pytorch-spline-conv/build_conda.sh
View file @
40196a97
...
...
@@ -29,4 +29,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION"
echo
"-
$CONDA_PYTORCH_CONSTRAINT
"
echo
"-
$CONDA_CUDATOOLKIT_CONSTRAINT
"
conda build
.
-c
defaults
-c
nvidia
-c
pytorch
--output-folder
../../pkg/
--output
conda build
.
-c
defaults
-c
nvidia
-c
pytorch
--output-folder
"
$HOME
/conda-bld/"
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