"dockerfile/cuda12.8.dockerfile" did not exist on "46a5792915666d818dcd1a0e7f91684c3f3f75d9"
Makefile 623 Bytes
Newer Older
1
2
3
4
5
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

CPPSOURCES := $(shell find $(CURDIR) -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)')

6
.PHONY: cpplint cppformat cppbuild thirdparty postinstall
7
8
9
10
11
12

cpplint:
	clang-format --verbose --dry-run --Werror $(CPPSOURCES)

cppformat:
	clang-format --verbose -i $(CPPSOURCES)
13
14
15

cppbuild:
	cd ./superbench/benchmarks/ && bash build.sh
16

17
18
19
thirdparty:
	cd ./third_party/ && make all

20
21
22
23
24
25
postinstall:
ifeq ($(shell which ansible-galaxy),)
	$(error 'Cannot find ansible-galaxy')
else
	ansible-galaxy collection install ansible.utils community.crypto
endif