Skip to content

Instantly share code, notes, and snippets.

@Stephen-Seo
Created May 12, 2022 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stephen-Seo/88b7453a47e38f7cecf26dfde43ecf58 to your computer and use it in GitHub Desktop.
Save Stephen-Seo/88b7453a47e38f7cecf26dfde43ecf58 to your computer and use it in GitHub Desktop.
Patch to build the AUR package "blender-git" in Debug mode
diff --git a/PKGBUILD b/PKGBUILD
index 18cf0dc..a6c986e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -105,9 +105,9 @@ build() {
fi
cmake -G Ninja -S "$srcdir/blender" -B build \
- -C "${srcdir}/blender/build_files/cmake/config/blender_release.cmake" \
+ -C "${srcdir}/blender/build_files/cmake/config/blender_developer.cmake" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=Debug \
-DWITH_INSTALL_PORTABLE=OFF \
-DWITH_SYSTEM_GLEW=OFF \
-DWITH_PYTHON_INSTALL=OFF \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment