From d4dfac1d7ac6cfa7e4c37a4d7007c662d7ce977c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Di=20Remigio=20Eik=C3=A5s?= Date: Mon, 25 Sep 2023 15:15:32 +0200 Subject: [PATCH] fix TOML syntax --- pyproject.toml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6c23617d2e..fdfe6f8455 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,34 +44,20 @@ before-all-linux = "yum install -y https://dl.fedoraproject.org/pub/epel/7/aarch [[tool.cibuildwheel.overrides]] select = "*-gpu-*" skip = "*-manylinux_i686 pp* cp36* *musllinux*" -environment = { - CMAKE_VERBOSE_MAKEFILE="true", - AER_THRUST_BACKEND="CUDA", - CUDACXX="/usr/local/cuda/bin/nvcc", - AER_PYTHON_CUDA_ROOT="/opt/_internal", - AER_CIBUILD="true", -} +environment = { CMAKE_VERBOSE_MAKEFILE="true", AER_THRUST_BACKEND="CUDA", CUDACXX="/usr/local/cuda/bin/nvcc", AER_PYTHON_CUDA_ROOT="/opt/_internal", AER_CIBUILD="true" } [[tool.cibuildwheel.overrides]] select = "*-gpu-cu12" before-all = "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all" before-build = "pip install nvidia-cuda-runtime-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12" -environment = { - QISKIT_AER_PACKAGE_NAME="qiskit-aer-gpu", - QISKIT_AER_CUDA_MAJOR="12", - AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7 9.0", -} +environment = { QISKIT_AER_PACKAGE_NAME="qiskit-aer-gpu", QISKIT_AER_CUDA_MAJOR="12", AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7 9.0" } repair-wheel-command = 'auditwheel repair --exclude libcudart.so.12 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusolver.so.12 --exclude libcusolverMg.so.12 --exclude libcusparse.so.12 --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libnvJitLink.so.12 -w {dest_dir} {wheel}' [[tool.cibuildwheel.overrides]] select = "*-gpu-cu11" before-all = "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && rpm -i cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all" before-build = "pip install nvidia-cuda-runtime-cu11 nvidia-cublas-cu11 nvidia-cusolver-cu11 nvidia-cusparse-cu11 cuquantum-cu11" -environment = { - QISKIT_AER_PACKAGE_NAME="qiskit-aer-gpu-cu11", - QISKIT_AER_CUDA_MAJOR="11", - AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7", -} +environment = { QISKIT_AER_PACKAGE_NAME="qiskit-aer-gpu-cu11", QISKIT_AER_CUDA_MAJOR="11", AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7" } repair-wheel-command = 'auditwheel repair --exclude libcudart.so.11.0 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusparse.so.11 --exclude libcublas.so.11 --exclude libcublasLt.so.11 -w {dest_dir} {wheel}' [tool.black]