Makefile now use pdm & meson/ninja.
This commit is contained in:
parent
1693241302
commit
09de6a667a
12
Makefile
12
Makefile
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
ISYS_ROOT = $(shell ./bootstrap/coriolisEnv.py --query-isys-root)
|
ISYS_ROOT = $(shell ./bootstrap/coriolisEnv.py --query-isys-root)
|
||||||
INST_ROOT = $(shell ./bootstrap/coriolisEnv.py --query-inst-root)
|
INST_ROOT = $(shell ./bootstrap/coriolisEnv.py --query-inst-root)
|
||||||
|
WORK_ROOT = ${HOME}/coriolis-2.x/Linux.el9/Release.Shared
|
||||||
|
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
@ -61,13 +62,14 @@ check_venv:
|
||||||
@if [ ! -d "./venv" ]; then python3 -m venv venv; fi
|
@if [ ! -d "./venv" ]; then python3 -m venv venv; fi
|
||||||
|
|
||||||
|
|
||||||
poetry_deps: check_venv
|
pdm_deps: check_venv
|
||||||
@$(venv); poetry install --no-root
|
@$(venv); pdm install --no-self
|
||||||
|
|
||||||
|
|
||||||
install: check_dir poetry_deps
|
install: check_dir pdm_deps
|
||||||
@$(venv); ./bootstrap/ccb.py $(DEVTOOLSET_OPTION) --project=coriolis --doc \
|
@meson setup $(WORK_ROOT)/build
|
||||||
--make="$(SMP_FLAGS) install"
|
@meson configure $(WORK_ROOT)/build --prefix $(WORK_ROOT)/install
|
||||||
|
@ninja -v -C $(WORK_ROOT)/build install
|
||||||
@echo ""; \
|
@echo ""; \
|
||||||
echo "============================================================================"; \
|
echo "============================================================================"; \
|
||||||
echo "Coriolis has been successfully built"; \
|
echo "Coriolis has been successfully built"; \
|
||||||
|
|
Loading…
Reference in New Issue