Skip to content

Commit eb70465

Browse files
Michael Norrisfacebook-github-bot
Michael Norris
authored andcommitted
Start migration off defaults to conda-forge channel (#4126)
Summary: Pull Request resolved: #4126 Differential Revision: D68043874
1 parent 3d0ac32 commit eb70465

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/actions/build_cmake/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,23 @@ runs:
2222
- name: Setup miniconda
2323
uses: conda-incubator/setup-miniconda@v3
2424
with:
25+
channels: conda-forge,nodefaults
26+
conda-remove-defaults: "true"
2527
python-version: '3.11'
2628
miniconda-version: latest
2729
- name: Configure build environment
2830
shell: bash
2931
run: |
3032
# initialize Conda
33+
conda config --show channels
3134
conda config --set solver libmamba
3235
conda update -y -q conda
3336
echo "$CONDA/bin" >> $GITHUB_PATH
37+
conda config --show channels
3438
3539
conda install -y -q python=3.11 cmake=3.26 make=4.2 swig=4.0 "numpy<2" scipy=1.14 pytest=7.4 gflags=2.2
3640
41+
conda config --show channels
3742
# install base packages for ARM64
3843
if [ "${{ runner.arch }}" = "ARM64" ]; then
3944
conda install -y -q -c conda-forge openblas=0.3 gxx_linux-aarch64=14.2 sysroot_linux-aarch64=2.17
@@ -65,6 +70,7 @@ runs:
6570
else
6671
conda install -y -q "pytorch<2.5" -c pytorch
6772
fi
73+
conda config --show channels
6874
- name: ROCm - Install dependencies
6975
if: inputs.rocm == 'ON'
7076
shell: bash

.github/actions/build_conda/action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ runs:
3131
with:
3232
python-version: '3.11'
3333
miniconda-version: latest
34+
channels: conda-forge,nodefaults
35+
conda-remove-defaults: "true"
3436
- name: Install conda build tools
3537
shell: ${{ steps.choose_shell.outputs.shell }}
3638
run: |

0 commit comments

Comments
 (0)