[build] remove un-need build option in setup.py (#141)

[fix][build] remove un-need build option in setup.py
This commit is contained in:
DefTruth
2022-08-23 10:27:02 +08:00
committed by GitHub
parent 2ff1293cf4
commit 4455d18c7e
2 changed files with 4 additions and 3 deletions

6
.gitignore vendored
View File

@@ -7,6 +7,8 @@ FastDeploy.cmake
build-debug.sh
*dist
fastdeploy.egg-info
fastdeploy_python.egg-info
fastdeploy_gpu_python.egg-info
.setuptools-cmake-build
fastdeploy/version.py
fastdeploy/core/config.h
@@ -15,5 +17,5 @@ fastdeploy/LICENSE*
fastdeploy/ThirdPartyNotices*
*.so*
fastdeploy/libs/third_libs
csrcs/fastdeploy/core/config.h
csrcs/fastdeploy/pybind/main.cc
csrc/fastdeploy/core/config.h
csrc/fastdeploy/pybind/main.cc

View File

@@ -49,7 +49,6 @@ setup_configs["ENABLE_PADDLE_FRONTEND"] = os.getenv("ENABLE_PADDLE_FRONTEND",
setup_configs["ENABLE_ORT_BACKEND"] = os.getenv("ENABLE_ORT_BACKEND", "ON")
setup_configs["ENABLE_PADDLE_BACKEND"] = os.getenv("ENABLE_PADDLE_BACKEND",
"OFF")
setup_configs["BUILD_DEMO"] = os.getenv("BUILD_DEMO", "ON")
setup_configs["ENABLE_VISION"] = os.getenv("ENABLE_VISION", "ON")
setup_configs["ENABLE_TRT_BACKEND"] = os.getenv("ENABLE_TRT_BACKEND", "OFF")
setup_configs["WITH_GPU"] = os.getenv("WITH_GPU", "OFF")