Skip to content
Snippets Groups Projects
Select Git revision
  • cactus_stack_devel
  • master default
  • ci-bump-test
  • abp-queue
  • new-delete-leaks
  • fused-continuation-and-completion-stealing
  • emper-fix-invalid-conv
  • remote-put-get-free-context-cycle
  • linux-version-construct-on-first-use
  • libstdc++-asserts
  • msan
  • libc++
  • completer-strategies
  • cactus_stack_devel_one_commit
  • client-load-change
  • cppcheck
  • flow
  • cast-if-future
  • async_network2
  • thread_safe_log_config
  • burak
  • attic/clang-release-tls-optimization-debug-and-fix
  • attic/continuation-stealing-dev
23 results

Makefile

Blame
  • Forked from Lehrstuhl für Informatik 4 (Systemsoftware) / manycore / emper
    Source project has a limited visibility.
    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