代码拉取完成,页面将自动刷新
BOUT_TOP = $(PWD)
DIRS = src
DIRS_CLEAN = tests/integrated tests/unit tests/MMS
TARGET ?= libfast
include make.config
# For compatibility ignore shared
shared: libfast
######################################################################
# Tests
######################################################################
check-unit-tests: libfast
@export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH}; $(MAKE) --no-print-directory -C tests/unit check
check-mms-tests: libfast
+@cd tests/MMS; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite_make
+@cd tests/MMS; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite
check-mms-tests-all: libfast
+@cd tests/MMS; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite_make --all
+@cd tests/MMS; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite --all
check-integrated-tests: libfast
+@cd tests/integrated; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite_make
+@cd tests/integrated; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite
check-integrated-tests-all: libfast
+@cd tests/integrated; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite_make --all
+@cd tests/integrated; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite --all
check: build-check
+@cd tests; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite
check-all: build-check-all
+@cd tests; export LD_LIBRARY_PATH=${PWD}/lib:${LD_LIBRARY_PATH} ; \
PYTHONPATH=${PWD}/tools/pylib/:${PYTHONPATH} \
OMPI_MCA_rmaps_base_oversubscribe=yes ./test_suite --all
build-check-unit-tests: libfast
@$(MAKE) --no-print-directory -C tests/unit
build-check-mms-tests: libfast
$(MAKE) --no-print-directory -C tests/MMS
build-check-mms-tests-all: libfast
$(MAKE) --no-print-directory -C tests/MMS all-all
build-check-integrated-tests: libfast
$(MAKE) --no-print-directory -C tests/integrated
build-check-integrated-tests-all: libfast
$(MAKE) --no-print-directory -C tests/integrated all-all
build-check: build-check-integrated-tests build-check-mms-tests build-check-unit-tests
build-check-all: build-check-integrated-tests-all build-check-mms-tests-all build-check-unit-tests
# Build the .mo files needed for Natural Language Support (gettext)
.PHONY: locale
locale:
$(MAKE) -C locale
######################################################################
# Releases
######################################################################
.PHONY: dist changelog
# Makes the tarball BOUT++-v<version>.tar.gz
dist:
@bin/bout-archive-helper.sh v$(BOUT_VERSION)
CHANGELOG_ERR_MESSAGE := "Run like: make changelog TOKEN=<token> LAST_VERSION=vX.Y.Z RELEASE_BRANCH=master|next"
# Updates CHANGELOG.md, needs some arguments:
#
# make changelog TOKEN=<token> LAST_VERSION=vX.Y.Z RELEASE_BRANCH=master|next
#
# Note: You should probably only run this if you are a maintainer (and
# also know what you're doing)!
changelog:
ifndef TOKEN
$(error $(CHANGELOG_ERR_MESSAGE))
endif
ifndef LAST_VERSION
$(error $(CHANGELOG_ERR_MESSAGE))
endif
ifndef RELEASE_BRANCH
$(error $(CHANGELOG_ERR_MESSAGE))
endif
github_changelog_generator -t $(TOKEN) --since-tag \
$(LAST_VERSION) --no-issues --max-issues 700 \
--base CHANGELOG.md --future-release v$(BOUT_VERSION) \
--release-branch $(RELEASE_BRANCH) \
--user boutproject --project BOUT-dev
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。