Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ runs:
channel-priority: strict
environment-file: conda/build-environment.yaml
auto-activate-base: false
conda-solver: classic
use-only-tar-bz2: true
python-version: 3.9
condarc-file: conda/condarc
Expand All @@ -25,6 +26,7 @@ runs:
channel-priority: strict
environment-file: conda/build-environment.yaml
auto-activate-base: false
conda-solver: classic
use-only-tar-bz2: true
python-version: 3.9
condarc-file: conda/condarc
Expand All @@ -33,3 +35,5 @@ runs:
run: |
conda info
conda list
conda info --envs
conda list --name base
4 changes: 3 additions & 1 deletion conda/build_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
:: specific language governing permissions and limitations
:: under the License.

conda build --output-folder=conda/pkg conda/recipe
echo on

conda build --output-folder=conda/pkg conda/recipe || exit /b
2 changes: 1 addition & 1 deletion conda/recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cmake ^
-DUSE_RANDOM=ON ^
-DUSE_PROFILER=ON ^
-DINSTALL_DEV=ON ^
%SRC_DIR%
%SRC_DIR% || exit /b

cd ..
:: defer build to install stage to avoid rebuild.
Expand Down
8 changes: 5 additions & 3 deletions conda/recipe/install_libtvm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
:: specific language governing permissions and limitations
:: under the License.

cmake --build build --config Release --target install
echo on

cmake --build build --config Release --target install || exit /b

:: Copy files into library bin so that they can be found
cp %LIBRARY_LIB%\tvm.dll %LIBRARY_BIN%\tvm.dll
cp %LIBRARY_LIB%\tvm_runtime.dll %LIBRARY_BIN%\tvm_runtime.dll
cp %LIBRARY_LIB%\tvm.dll %LIBRARY_BIN%\tvm.dll || exit /b
cp %LIBRARY_LIB%\tvm_runtime.dll %LIBRARY_BIN%\tvm_runtime.dll || exit /b
4 changes: 2 additions & 2 deletions conda/recipe/install_tvm_python.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
:: under the License.
echo on

cd %SRC_DIR%\python
%PYTHON% setup.py install --single-version-externally-managed --record=%SRC_DIR%\record.txt
cd %SRC_DIR%\python || exit /b
%PYTHON% setup.py install --single-version-externally-managed --record=%SRC_DIR%\record.txt || exit /b