From 3c490a46c5ecb2ff9c742b64cf2e07d82278bbfb Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 26 Jun 2023 23:03:08 +1100 Subject: [PATCH] clean up build cache --- recipe/build-py.sh | 3 +++ recipe/install-lib.bat | 3 +++ recipe/install-lib.sh | 3 +++ 3 files changed, 9 insertions(+) diff --git a/recipe/build-py.sh b/recipe/build-py.sh index 2ad48562..f8c97139 100644 --- a/recipe/build-py.sh +++ b/recipe/build-py.sh @@ -38,6 +38,9 @@ cmake -G "Ninja" \ cmake --build . +# debug +ls -R . + # run actual build cmake -G "Ninja" \ -DOPENCV_PYTHON_PIP_METADATA_INSTALL=ON \ diff --git a/recipe/install-lib.bat b/recipe/install-lib.bat index 1cfa5688..e33dd734 100644 --- a/recipe/install-lib.bat +++ b/recipe/install-lib.bat @@ -3,3 +3,6 @@ cd build cmake --install . if %ERRORLEVEL% neq 0 exit 1 + +cd .. +rmdir /s /q build diff --git a/recipe/install-lib.sh b/recipe/install-lib.sh index 2901ec0d..7bcba0e8 100644 --- a/recipe/install-lib.sh +++ b/recipe/install-lib.sh @@ -3,3 +3,6 @@ set -ex cd build cmake --install . + +cd .. +rm -rf build