Skip to content

Commit ba91479

Browse files
committed
[CI] Enable Conda setup v3
This helps to mitigate the recent error.
1 parent 1453893 commit ba91479

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/actions/setup/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
runs:
22
using: "composite"
33
steps:
4-
- uses: actions/cache@v1
4+
- uses: actions/cache@v3
55
env:
6-
CACHE_NUMBER: 0
6+
CACHE_NUMBER: 1
77
with:
88
path: ~/conda_pkgs_dir
99
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('conda/build-environment.yaml') }}
10-
- uses: conda-incubator/setup-miniconda@v2
10+
- uses: conda-incubator/setup-miniconda@v3
1111
continue-on-error: true
1212
id: conda1
1313
with:
@@ -16,17 +16,17 @@ runs:
1616
environment-file: conda/build-environment.yaml
1717
auto-activate-base: false
1818
use-only-tar-bz2: true
19-
python-version: 3.7
19+
python-version: 3.9
2020
condarc-file: conda/condarc
21-
- uses: conda-incubator/setup-miniconda@v2
21+
- uses: conda-incubator/setup-miniconda@v3
2222
if: steps.conda1.outcome == 'failure'
2323
with:
2424
activate-environment: tvm-build
2525
channel-priority: strict
2626
environment-file: conda/build-environment.yaml
2727
auto-activate-base: false
2828
use-only-tar-bz2: true
29-
python-version: 3.7
29+
python-version: 3.9
3030
condarc-file: conda/condarc
3131
- name: Conda info
3232
shell: pwsh

apps/ios_rpc/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ if (NOT XCBUILD_AVAILABLE EQUAL 0)
3434
return()
3535
endif()
3636

37-
3837
# External project with custom mach-o dynamic loader
3938
# It is required to load unsigned shared modules on real iOS devices
4039
ExternalProject_Add(custom_dso_loader
4140
GIT_REPOSITORY https://github.com/octoml/macho-dyld.git
42-
GIT_TAG 0742b8129de7df1130be355b74faa8c036265bfc
41+
GIT_TAG d1f7032e7882bc060b49a4fb058f50a23668b074
4342
PREFIX custom_dso_loader
4443
LOG_DOWNLOAD TRUE
4544
LOG_CONFIGURE TRUE

conda/build-environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ channels:
2525

2626
# The packages to install to the environment
2727
dependencies:
28-
- python=3.7 # or 3.8. See https://github.com/apache/tvm/issues/8577 for more details on >= 3.9
28+
- python=3.9
2929
- conda-build
3030
- git
3131
- llvmdev >=11

conda/recipe/conda_build_config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
# under the License.
1717

1818
python:
19-
- 3.6
20-
- 3.7
21-
- 3.8
19+
- 3.9
2220

2321
cuda:
2422
- False

conda/recipe/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ outputs:
8585
- decorator
8686
- psutil
8787
- scipy
88+
- typing_extensions
8889
- {{ pin_compatible('numpy') }}
8990
- {{ pin_subpackage(pkg_name + '-libs', exact=True) }}
9091

0 commit comments

Comments
 (0)