Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build-debug option to Makefile so we dont forget the proper incantations #222

Merged
merged 2 commits into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endif
#########
# BUILD #
#########
.PHONY: requirements develop build build-conda install
.PHONY: requirements develop build build-debug build-conda install

requirements: ## install python dev and runtime dependencies
python -m pip install toml
Expand All @@ -24,6 +24,9 @@ develop: requirements ## install dependencies and build library
build: ## build the library
python setup.py build build_ext --inplace -- -- -j$(NPROC)

build-debug: ## build the library ( DEBUG ) - May need a make clean when switching from regular build to build-debug and vice versa
robambalu marked this conversation as resolved.
Show resolved Hide resolved
SKBUILD_CONFIGURE_OPTIONS="" DEBUG=1 python setup.py build build_ext --inplace -- -- -j$(NPROC)

build-conda: ## build the library in Conda
CSP_USE_VCPKG=0 python setup.py build build_ext --inplace -- -- -j$(NPROC)

Expand Down