Skip to content

Commit 99ea548

Browse files
junjieqiabhinavdangeti
authored andcommitted
Remove swig version and always rely on the latest version (facebookresearch#3295)
Summary: Pull Request resolved: facebookresearch#3295 In the past, we had build failure due to the latest swig version in conda-forge so we had to specify the version of swig. In this diff, we are going to change it to be the latest version always because the issue has gone. Reviewed By: algoriddle Differential Revision: D54975271 fbshipit-source-id: 7ca59fb58390edb0cc5ed52f6fd416f633dd7938
1 parent e21d4ab commit 99ea548

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,15 @@ jobs:
224224
- run:
225225
name: Install env using main channel
226226
command: |
227-
conda install -y -q python=3.11 cmake make swig=4.0.2 mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64
227+
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64 -c conda-forge
228228
- when:
229229
condition:
230230
equal: [ "ON", << parameters.raft >> ]
231231
steps:
232232
- run:
233233
name: Install env using conda-forge channel
234234
command: |
235-
conda install -y -q python=3.11 cmake make swig=4.0.2 mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.28 libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
235+
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.28 libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
236236
- when:
237237
condition:
238238
and:

conda/faiss-gpu-raft/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ outputs:
8484
build:
8585
- {{ compiler('cxx') }}
8686
- sysroot_linux-64 =2.17 # [linux64]
87-
- swig =4.0.2
87+
- swig
8888
- cmake >=3.23.1
8989
- make # [not win]
9090
host:

0 commit comments

Comments
 (0)