Select Git revision
Forked from
Lehrstuhl für Informatik 4 (Systemsoftware) / manycore / emper
Source project has a limited visibility.
-
Nicolas Pfeiffer authoredNicolas Pfeiffer authored
Makefile 876 B
.PHONY: all clean distclean doc full release relwithdebug reldebug debug stresstest test
SHELL = bash
NPROC := $(shell nproc)
COMMON_MAKE_ARGS := -j $(NPROC) -l $(NPROC) $(MAKEFLAGS)
all: release
full: release test doc
clean:
rm -f build
rm -rf build-*
distclean: clean
./scripts/dependencyManager.sh -v clean
./scripts/versionManager.sh -v clean
git clean -x -d -f
debug release relwithdebug:
[[ -d build-$@ ]] || mkdir build-$@
rm -f build
ln -rs build-$@ build
cd build-$@; \
[[ -f CMakeCache.txt ]] || cmake -DCMAKE_BUILD_TYPE=$@ \
-DEMPER_CM_WITH_MEMORY_MANAGER=OFF \
-DEMPER_LOCKED_WS_QUEUE=OFF \
-DEMPER_LOCKED_FIBRIL=OFF \
-DEMPER_MADVISE=OFF .. \
&& make $(COMMON_MAKE_ARGS)
reldebug: relwithdebug
test doc: release
cd build \
&& make $(COMMON_MAKE_ARGS) $@
stresstest: test
./stresstest/stresstest.sh build/tests/simplest_fib_test