forked from microsoft/superbenchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 694 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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
directxbuild:
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