superbenchmark/Makefile

29 строки
697 B
Makefile
Исходник Обычный вид История

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
CPPSOURCES := $(shell find $(CURDIR) -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)')
.PHONY: cpplint cppformat cppbuild thirdparty postinstall
cpplint:
clang-format --verbose --dry-run --Werror $(CPPSOURCES)
cppformat:
clang-format --verbose -i $(CPPSOURCES)
cppbuild:
cd ./superbench/benchmarks/ && bash build.sh
directxcppbuild:
2023-06-14 09:44:53 +03:00
cd ./superbench/benchmarks/ && build.bat
thirdparty:
cd ./third_party/ && make all
postinstall:
ifeq ($(shell which ansible-galaxy),)
$(error 'Cannot find ansible-galaxy')
else
ansible-galaxy collection install ansible.posix ansible.utils community.crypto
endif