Skip to content
Snippets Groups Projects
Commit 40834c9a authored by Dr. Martin Goik's avatar Dr. Martin Goik
Browse files

providing multicore config support

parent ff6dc4fa
No related branches found
No related tags found
No related merge requests found
SHELL = /bin/bash
numCores=$(shell nproc --all)
DOCMODULES = Sd1 Sda1 Sda2
doc:
cd Doc;$(MAKE) -j24 all
cd Doc;$(MAKE) -j${numCores} all
all:doc
mvn --fail-at-end install
mvn -T 8 --fail-at-end javadoc:javadoc
mvn -T ${numCores} --fail-at-end javadoc:javadoc
mkdir -p Doc/target/navi/de.hdm_stuttgart.mi.lectures/P
cd P;$(MAKE) -j 8 install
cd P;$(MAKE) -j ${numCores} install
cd P; tar c- ${DOCMODULES} | tar -x -C ../Doc/target/navi/de.hdm_stuttgart.mi.lectures/P
clean:
cd Doc;$(MAKE) -j 8 clean
mvn -T 8 clean
cd Doc;$(MAKE) -j ${numCores} clean
mvn -T ${numCores} clean
install:
cd Doc/target && rsync -av --delete navi nonavi infocenter2@www.mi.hdm-stuttgart.de:doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment