From 87b66a87a305f852838d8b2385ee107f7d2238fd Mon Sep 17 00:00:00 2001 From: risemeup1 <515586620@qq.com> Date: Thu, 11 Apr 2024 06:19:54 +0000 Subject: [PATCH 1/2] fix setup bug --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index acd9486ec12be..61d396b23395d 100644 --- a/setup.py +++ b/setup.py @@ -697,7 +697,7 @@ def cinn(): 'with_mkl': env_dict.get("WITH_MKL"), 'cinn': get_cinn_version(), 'with_pip_cuda_libraries': env_dict.get( - "with_pip_cuda_libraries" + "WITH_PIP_CUDA_LIBRARIES" ), } ) From e77f814eafc0d3c41962c29f896e2ca5e62f86ad Mon Sep 17 00:00:00 2001 From: risemeup1 <515586620@qq.com> Date: Thu, 11 Apr 2024 06:23:19 +0000 Subject: [PATCH 2/2] fix setup bug,test=document_fix --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 61d396b23395d..22e4f259a288f 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,6 @@ from setuptools.command.install_lib import install_lib from setuptools.dist import Distribution -# check python python_version = platform.python_version() version_detail = sys.version_info version = str(version_detail[0]) + '.' + str(version_detail[1])