Skip to content

Commit

Permalink
Add build-debug option to Makefile so we dont forget the proper incan…
Browse files Browse the repository at this point in the history
…tations (Point72#222)

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

Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
  • Loading branch information
robambalu committed May 6, 2024
1 parent 0964fad commit b748dc7
Showing 1 changed file with 4 additions and 1 deletion.
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
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

0 comments on commit b748dc7

Please sign in to comment.