Commit 1fb0017a authored by dugupeiwen's avatar dugupeiwen
Browse files

init 0.58

parents
*****
Numba
*****
.. image:: https://badges.gitter.im/numba/numba.svg
:target: https://gitter.im/numba/numba?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
:alt: Gitter
.. image:: https://img.shields.io/badge/discuss-on%20discourse-blue
:target: https://numba.discourse.group/
:alt: Discourse
.. image:: https://zenodo.org/badge/3659275.svg
:target: https://zenodo.org/badge/latestdoi/3659275
:alt: Zenodo DOI
.. image:: https://img.shields.io/pypi/v/numba.svg
:target: https://pypi.python.org/pypi/numba/
:alt: PyPI
.. image:: https://dev.azure.com/numba/numba/_apis/build/status/numba.numba?branchName=main
:target: https://dev.azure.com/numba/numba/_build/latest?definitionId=1?branchName=main
:alt: Azure Pipelines
A Just-In-Time Compiler for Numerical Functions in Python
#########################################################
Numba is an open source, NumPy-aware optimizing compiler for Python sponsored
by Anaconda, Inc. It uses the LLVM compiler project to generate machine code
from Python syntax.
Numba can compile a large subset of numerically-focused Python, including many
NumPy functions. Additionally, Numba has support for automatic
parallelization of loops, generation of GPU-accelerated code, and creation of
ufuncs and C callbacks.
For more information about Numba, see the Numba homepage:
https://numba.pydata.org and the online documentation:
https://numba.readthedocs.io/en/stable/index.html
Installation
============
Please follow the instructions:
https://numba.readthedocs.io/en/stable/user/installing.html
Demo
====
Please have a look and the demo notebooks via the mybinder service:
https://mybinder.org/v2/gh/numba/numba-examples/master?filepath=notebooks
Contact
=======
Numba has a discourse forum for discussions:
* https://numba.discourse.group
trigger:
batch: true
variables:
# Change the following along with adding new TEST_START_INDEX.
TEST_COUNT: 21
jobs:
# Mac and Linux use the same template with different matrixes
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: macOS
vmImage: macos-11
matrix:
py38_np122:
PYTHON: '3.8'
NUMPY: '1.22'
CONDA_ENV: 'azure_ci'
TEST_START_INDEX: 0
py311_np126:
PYTHON: '3.11'
NUMPY: '1.26'
CONDA_ENV: 'azure_ci'
TEST_THREADING: 'tbb'
TEST_START_INDEX: 1
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: Linux
vmImage: ubuntu-20.04
matrix:
py38_np122_tbb:
PYTHON: '3.8'
NUMPY: '1.22'
CONDA_ENV: azure_ci
TEST_THREADING: 'tbb'
TEST_START_INDEX: 2
py38_np122_omp:
PYTHON: '3.8'
NUMPY: '1.22'
CONDA_ENV: azure_ci
TEST_THREADING: omp
TEST_START_INDEX: 3
py38_np122_workqueue:
PYTHON: '3.8'
NUMPY: '1.22'
CONDA_ENV: azure_ci
TEST_THREADING: workqueue
TEST_START_INDEX: 4
py38_np123_svml:
PYTHON: '3.8'
NUMPY: '1.23'
CONDA_ENV: azure_ci
TEST_SVML: yes
TEST_START_INDEX: 5
py38_np124:
PYTHON: '3.8'
NUMPY: '1.24'
CONDA_ENV: azure_ci
TEST_START_INDEX: 6
py39_np122_cov_doc:
PYTHON: '3.9'
NUMPY: '1.22'
CONDA_ENV: azure_ci
RUN_COVERAGE: yes
RUN_FLAKE8: yes
RUN_MYPY: yes
BUILD_DOC: yes
TEST_START_INDEX: 7
py39_np123_typeguard:
PYTHON: '3.9'
NUMPY: '1.23'
CONDA_ENV: azure_ci
RUN_TYPEGUARD: yes
TEST_START_INDEX: 8
py39_np126:
PYTHON: '3.9'
NUMPY: '1.26'
CONDA_ENV: azure_ci
TEST_START_INDEX: 9
py39_np125:
PYTHON: '3.9'
NUMPY: '1.25'
CONDA_ENV: azure_ci
TEST_START_INDEX: 10
py310_np126:
PYTHON: '3.10'
NUMPY: '1.26'
CONDA_ENV: azure_ci
TEST_START_INDEX: 11
py310_np123:
PYTHON: '3.10'
NUMPY: '1.23'
CONDA_ENV: azure_ci
TEST_START_INDEX: 12
py310_np124:
PYTHON: '3.10'
NUMPY: '1.24'
CONDA_ENV: azure_ci
TEST_START_INDEX: 13
py310_np125:
PYTHON: '3.10'
NUMPY: '1.25'
CONDA_ENV: azure_ci
TEST_START_INDEX: 14
py311_np126:
PYTHON: '3.11'
NUMPY: '1.26'
CONDA_ENV: azure_ci
TEST_START_INDEX: 15
py311_np124:
PYTHON: '3.11'
NUMPY: '1.24'
CONDA_ENV: azure_ci
TEST_START_INDEX: 16
py311_np125:
PYTHON: '3.11'
NUMPY: '1.25'
CONDA_ENV: azure_ci
TEST_START_INDEX: 17
# RVSDG tests
py311_np126_rvsdg:
PYTHON: '3.11'
NUMPY: '1.26'
RUN_MYPY: yes
RUN_FLAKE8: yes
CONDA_ENV: azure_ci
TEST_RVSDG: yes
TEST_START_INDEX: 20 # Not used by test script
- template: buildscripts/azure/azure-windows.yml
parameters:
name: Windows
vmImage: windows-2019
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from __future__ import print_function, division, absolute_import
from numba.misc.numba_entry import main
if __name__ == "__main__":
main()
parameters:
name: ''
vmImage: ''
matrix: []
jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
${{ insert }}: ${{ parameters.matrix }}
steps:
- script: |
set -e
echo "Installing Miniconda"
buildscripts/incremental/install_miniconda.sh
export PATH=$HOME/miniconda3/bin:$PATH
echo "Setting up Conda environment"
buildscripts/incremental/setup_conda_environment.sh
displayName: 'Before Install'
- script: |
set -e
export PATH=$HOME/miniconda3/bin:$PATH
buildscripts/incremental/build.sh
displayName: 'Build'
- script: |
set -e
export PATH=$HOME/miniconda3/bin:$PATH
conda install -y flake8
flake8 -j auto numba
displayName: 'Flake8'
condition: eq(variables['RUN_FLAKE8'], 'yes')
- script: |
set -e
export PATH=$HOME/miniconda3/bin:$PATH
# using conda-forge because main only have version < 1.0
conda create -n mypy311 -y -c conda-forge python=3.11 mypy
conda run -n mypy311 mypy
displayName: 'Mypy'
condition: eq(variables['RUN_MYPY'], 'yes')
- script: |
set -e
export PATH=$HOME/miniconda3/bin:$PATH
buildscripts/incremental/test.sh
displayName: 'Test'
parameters:
name: ''
vmImage: ''
jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
py38_np122:
PYTHON: '3.8'
NUMPY: '1.22.3'
CONDA_ENV: 'testenv'
TEST_START_INDEX: 18
py311_np126:
PYTHON: '3.11'
NUMPY: '1.26'
CONDA_ENV: 'testenv'
TEST_START_INDEX: 19
steps:
- task: CondaEnvironment@1
inputs:
updateConda: no
packageSpecs: ''
- script: |
buildscripts\\incremental\\setup_conda_environment.cmd
displayName: 'Before Install'
- script: |
buildscripts\\incremental\\build.cmd
displayName: 'Build'
- script: |
call activate %CONDA_ENV%
python -m numba -s
displayName: 'Display numba system information'
- script: |
call activate %CONDA_ENV%
python -m numba.tests.test_runtests
displayName: 'Verify runtests'
- script: |
call activate %CONDA_ENV%
set NUMBA_ENABLE_CUDASIM=1
python -m numba.runtests -l
displayName: 'List discovered tests'
- script: |
call activate %CONDA_ENV%
set NUMBA_CAPTURED_ERRORS=new_style
set NUMBA_ENABLE_CUDASIM=1
echo "Running shard of discovered tests: %TEST_START_INDEX%,None,%TEST_COUNT%"
python -m numba.runtests -b -v -g -m 2 -- numba.tests
displayName: 'Test modified test files'
- script: |
call activate %CONDA_ENV%
set NUMBA_CAPTURED_ERRORS=new_style
set NUMBA_ENABLE_CUDASIM=1
echo "Running shard of discovered tests: %TEST_START_INDEX%:%TEST_COUNT%"
python runtests.py -m 2 -b -j "%TEST_START_INDEX%:%TEST_COUNT%" --exclude-tags='long_running' -- numba.tests
displayName: 'Test shard of test files'
%PYTHON% setup.py build install --single-version-externally-managed --record=record.txt
exit /b %errorlevel%
#!/bin/bash
if [[ "$(uname -s)" == *"Linux"* ]] && [[ "$(uname -p)" == *"86"* ]]; then
EXTRA_BUILD_EXT_FLAGS="--werror --wall"
else
EXTRA_BUILD_EXT_FLAGS=""
fi
if [[ "$(uname -s)" == *"Linux"* ]] && [[ "$(uname -p)" == *"ppc64le"* ]]; then
# To workaround https://github.com/numba/numba/issues/7302
# because of a python build problem that the -pthread could be stripped.
export CC="$CC -pthread"
export CXX="$CXX -pthread"
fi
MACOSX_DEPLOYMENT_TARGET=10.10 $PYTHON setup.py build_ext $EXTRA_BUILD_EXT_FLAGS build install --single-version-externally-managed --record=record.txt
# Numba/llvmlite stack needs an older compiler for backwards compatibility.
c_compiler_version: # [linux]
- 7 # [linux and (x86_64 or ppc64le)]
- 9 # [linux and aarch64]
cxx_compiler_version: # [linux]
- 7 # [linux and (x86_64 or ppc64le)]
- 9 # [linux and aarch64]
fortran_compiler_version: # [linux]
- 7 # [linux and (x86_64 or ppc64le)]
- 9 # [linux and aarch64]
Copyright (c) 2012, Anaconda, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package:
name: numba
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../..
build:
number: {{ GIT_DESCRIBE_NUMBER|int }}
string: np{{ NPY_VER }}py{{ PY_VER }}h{{ PKG_HASH }}_{{GIT_DESCRIBE_HASH}}_{{ GIT_DESCRIBE_NUMBER }}
entry_points:
- numba = numba.misc.numba_entry:main
script_env:
- PY_VCRUNTIME_REDIST
missing_dso_whitelist: # [osx]
# optional dependency: required only when omp is chosen as the backend for
# the threading layer
- lib/libiomp5.dylib # [osx]
ignore_run_exports:
# tbb-devel triggers hard dependency on tbb, this is not the case.
- tbb # [not (aarch64 or ppc64le)]
requirements:
# build and run dependencies are duplicated to avoid setuptools issues
# when we also set install_requires in setup.py
build:
- {{ compiler('c') }} # [not aarch64]
- {{ compiler('cxx') }} # [not aarch64]
# OpenMP headers from llvm needed for OSX.
- llvm-openmp # [osx]
host:
- python
- numpy
- setuptools
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.41.*
# TBB devel version is to match TBB libs.
# NOTE: ppc64le and aarch64 are pending testing so excluded for now.
- tbb-devel >=2021.6 # [not (aarch64 or ppc64le)]
run:
- python >=3.8
- numpy >=1.22.3, <1.27
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.41.*
run_constrained:
# If TBB is present it must be at least version 2021.6
- tbb >=2021.6 # [not (aarch64 or ppc64le)]
# avoid confusion from openblas bugs
- libopenblas !=0.3.6 # [x86_64]
# 0.3.17 buggy on M1 silicon
# https://github.com/xianyi/OpenBLAS/blob/v0.3.20/Changelog.txt#L118
# https://github.com/numba/numba/issues/7822#issuecomment-1063229855
# Exclude 0.3.20 too
# https://github.com/numba/numba/issues/8096
- libopenblas >=0.3.18, !=0.3.20 # [arm64]
# CUDA 10.2 or later is required for CUDA support
- cudatoolkit >=10.2
# scipy 1.0 or later
- scipy >=1.0
# CUDA Python 11.6 or later
- cuda-python >=11.6
# numba-rvsdg
- numba-rvsdg 0.0.* # [py==311]
test:
requires:
- jinja2
# Required to test optional Numba features
- cffi
- scipy
- ipython # [not aarch64]
# for pycc
- setuptools
- tbb >=2021.6 # [not (aarch64 or ppc64le)]
- llvm-openmp # [osx]
# This is for driving gdb tests
- pexpect # [linux64]
# For testing ipython
- ipykernel
# Need these for AOT. Do not init msvc as it may not be present
- {{ compiler('c') }} # [not (win or aarch64)]
- {{ compiler('cxx') }} # [not (win or aarch64)]
about:
home: https://numba.pydata.org/
license: BSD
license_file: LICENSE
summary: a just-in-time Python function compiler based on LLVM
set NUMBA_DEVELOPER_MODE=1
set NUMBA_DISABLE_ERROR_MESSAGE_HIGHLIGHTING=1
set NUMBA_CAPTURED_ERRORS=new_style
set PYTHONFAULTHANDLER=1
@rem Check Numba executable is there
numba -h
@rem Run system info tool
numba -s
@rem Check test discovery works
python -m numba.tests.test_runtests
@rem Run the whole test suite
python -m numba.runtests -b -m -- %TESTS_TO_RUN%
if errorlevel 1 exit 1
#!/bin/bash
set -e
export NUMBA_DEVELOPER_MODE=1
export NUMBA_DISABLE_ERROR_MESSAGE_HIGHLIGHTING=1
export NUMBA_CAPTURED_ERRORS="new_style"
export PYTHONFAULTHANDLER=1
# Disable NumPy dispatching to AVX512_SKX feature extensions if the chip is
# reported to support the feature and NumPy >= 1.22 as this results in the use
# of low accuracy SVML libm replacements in ufunc loops.
_NPY_CMD='from numba.misc import numba_sysinfo;\
sysinfo=numba_sysinfo.get_sysinfo();\
print(sysinfo["NumPy AVX512_SKX detected"] and
sysinfo["NumPy Version"]>="1.22")'
NUMPY_DETECTS_AVX512_SKX_NP_GT_122=$(python -c "$_NPY_CMD")
echo "NumPy >= 1.22 with AVX512_SKX detected: $NUMPY_DETECTS_AVX512_SKX_NP_GT_122"
if [[ "$NUMPY_DETECTS_AVX512_SKX_NP_GT_122" == "True" ]]; then
export NPY_DISABLE_CPU_FEATURES="AVX512_SKX"
fi
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
SEGVCATCH=catchsegv
elif [[ "$unamestr" == 'Darwin' ]]; then
SEGVCATCH=""
else
echo Error
fi
# limit CPUs in use on PPC64LE, fork() issues
# occur on high core count systems
archstr=`uname -m`
if [[ "$archstr" == 'ppc64le' ]]; then
TEST_NPROCS=16
fi
# Check Numba executable is there
numba -h
# run system info tool
numba -s
# Check test discovery works
python -m numba.tests.test_runtests
# Run the whole test suite
echo "Running: $SEGVCATCH python -m numba.runtests -b -m $TEST_NPROCS -- $TESTS_TO_RUN"
$SEGVCATCH python -m numba.runtests -b -m $TEST_NPROCS -- $TESTS_TO_RUN
PYTHON_VER:
- "3.8"
CUDA_VER:
- "11.2"
CUDA_TOOLKIT_VER:
- "11.2"
- "11.3"
- "11.5"
- "11.8"
LINUX_VER:
- ubuntu18.04
RAPIDS_VER:
- "21.12"
excludes:
##############################################
# Numba GPU build and test script for CI #
##############################################
set -e
# Set path and build parallel level
export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH
export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4}
# Set home to the job's workspace
export HOME="$WORKSPACE"
# Switch to project root; also root of repo checkout
cd "$WORKSPACE"
# Determine CUDA release version
export CUDA_REL=${CUDA_VERSION%.*}
# Test with NVIDIA Bindings on CUDA 11.5
if [ $CUDA_TOOLKIT_VER == "11.5" ]
then
export NUMBA_CUDA_USE_NVIDIA_BINDING=1;
else
export NUMBA_CUDA_USE_NVIDIA_BINDING=0;
fi;
# Test with Minor Version Compatibility on CUDA 11.8
if [ $CUDA_TOOLKIT_VER == "11.8" ]
then
export NUMBA_CUDA_ENABLE_MINOR_VERSION_COMPATIBILITY=1;
else
export NUMBA_CUDA_ENABLE_MINOR_VERSION_COMPATIBILITY=0;
fi;
# Test with different NumPy versions with each toolkit (it's not worth testing
# the Cartesian product of versions here, we just need to test with different
# CUDA and NumPy versions).
declare -A CTK_NUMPY_VMAP=( ["11.2"]="1.22" ["11.3"]="1.23" ["11.5"]="1.25" ["11.8"]="1.26")
NUMPY_VER="${CTK_NUMPY_VMAP[$CUDA_TOOLKIT_VER]}"
################################################################################
# SETUP - Check environment
################################################################################
gpuci_logger "Check environment variables"
env
gpuci_logger "Check GPU usage"
nvidia-smi
gpuci_logger "Create testing env"
. /opt/conda/etc/profile.d/conda.sh
gpuci_mamba_retry create -n numba_ci -y \
"python=3.10" \
"cudatoolkit=${CUDA_TOOLKIT_VER}" \
"rapidsai::cubinlinker" \
"conda-forge::ptxcompiler" \
"numba/label/dev::llvmlite" \
"numpy=${NUMPY_VER}" \
"scipy" \
"cffi" \
"psutil" \
"gcc_linux-64=7" \
"gxx_linux-64=7" \
"setuptools"
conda activate numba_ci
if [ $NUMBA_CUDA_USE_NVIDIA_BINDING == "1" ]
then
gpuci_logger "Install NVIDIA CUDA Python bindings";
gpuci_mamba_retry install nvidia::cuda-python=11.7.0;
fi;
gpuci_logger "Install numba"
python setup.py develop
gpuci_logger "Check Compiler versions"
$CC --version
$CXX --version
gpuci_logger "Check conda environment"
conda info
conda config --show-sources
gpuci_logger "Dump system information from Numba"
python -m numba -s
gpuci_logger "Run tests in numba.cuda.tests"
python -m numba.runtests numba.cuda.tests -v -m
ea40a3b9dc48cd3593628490f2738b89282f00ab ./MacOSX10.10.sdk.tar.xz
#!/bin/bash
source activate $CONDA_ENV
# Make sure any error below is reported as such
set -v -e
if [ "$RUN_COVERAGE" == "yes" ]; then
coverage combine
codecov
fi
call activate %CONDA_ENV%
@rem Build numba extensions without silencing compile errors
python setup.py build_ext -q --inplace
@rem Install numba locally for use in `numba -s` sys info tool at test time
python -m pip install -e .
if %errorlevel% neq 0 exit /b %errorlevel%
#!/bin/bash
source activate
conda activate $CONDA_ENV
# Make sure any error below is reported as such
set -v -e
# Build numba extensions without silencing compile errors
if [[ "$(uname -s)" == *"Linux"* ]] && [[ "$(uname -p)" == *"86"* ]]; then
EXTRA_BUILD_EXT_FLAGS="--werror --wall"
else
EXTRA_BUILD_EXT_FLAGS=""
fi
if [[ $(uname) == "Darwin" ]]; then
# The following is suggested in https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html?highlight=SDK#macos-sdk
wget -q https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.10.sdk.tar.xz
shasum -c ./buildscripts/incremental/MacOSX10.10.sdk.checksum
tar -xf ./MacOSX10.10.sdk.tar.xz
export SDKROOT=`pwd`/MacOSX10.10.sdk
fi
python setup.py build_ext -q --inplace --debug $EXTRA_BUILD_EXT_FLAGS --verbose
# (note we don't install to avoid problems with extra long Windows paths
# during distutils-dependent tests -- e.g. test_pycc)
# Install numba locally for use in `numba -s` sys info tool at test time
python -m pip install --no-deps -e .
#!/bin/bash
set -v -e
# Install Miniconda
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
elif [[ "$unamestr" == 'Darwin' ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
else
echo Error
fi
chmod +x miniconda.sh
bash ./miniconda.sh -b
@rem first configure conda to have more tolerance of network problems, these
@rem numbers are not scientifically chosen, just merely larger than defaults
set CONDA_CONFIG=cmd /C conda config
%CONDA_CONFIG% --write-default
%CONDA_CONFIG% --set remote_connect_timeout_secs 30.15
%CONDA_CONFIG% --set remote_max_retries 10
%CONDA_CONFIG% --set remote_read_timeout_secs 120.2
%CONDA_CONFIG% --set show_channel_urls true
cmd /C conda info
%CONDA_CONFIG% --show
@rem The cmd /C hack circumvents a regression where conda installs a conda.bat
@rem script in non-root environments.
set CONDA_INSTALL=cmd /C conda install -q -y
set PIP_INSTALL=pip install -q
@echo on
@rem Deactivate any environment
call deactivate
@rem Display root environment (for debugging)
conda list
@rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite
conda create -n %CONDA_ENV% -q -y python=%PYTHON% numpy=%NUMPY% cffi pip scipy jinja2 ipython gitpython pyyaml
call activate %CONDA_ENV%
@rem Install latest llvmlite build
%CONDA_INSTALL% -c numba/label/dev llvmlite=0.41
@rem Install required backports for older Pythons
if %PYTHON% LSS 3.9 (%CONDA_INSTALL% importlib_metadata)
@rem Install dependencies for building the documentation
if "%BUILD_DOC%" == "yes" (%CONDA_INSTALL% sphinx sphinx_rtd_theme pygments)
@rem Install dependencies for code coverage (codecov.io)
if "%RUN_COVERAGE%" == "yes" (%PIP_INSTALL% codecov)
@rem Install TBB
%CONDA_INSTALL% "tbb>=2021.6" "tbb-devel>=2021.6"
if %errorlevel% neq 0 exit /b %errorlevel%
echo "DEBUG ENV:"
echo "-------------------------------------------------------------------------"
conda env export
echo "-------------------------------------------------------------------------"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment