File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ dotprod = no
153153arm_version = 0
154154STRIP = strip
155155
156- ifneq ($(shell command -v clang-format-17) ,)
156+ ifneq ($(shell which clang-format-17 2> /dev/null ) ,)
157157 CLANG-FORMAT = clang-format-17
158158else
159159 CLANG-FORMAT = clang-format
@@ -854,7 +854,8 @@ endif
854854 objclean profileclean config-sanity \
855855 icx-profile-use icx-profile-make \
856856 gcc-profile-use gcc-profile-make \
857- clang-profile-use clang-profile-make FORCE
857+ clang-profile-use clang-profile-make FORCE \
858+ format analyze
858859
859860analyze : net config-sanity objclean
860861 $(MAKE ) -k ARCH=$(ARCH ) COMP=$(COMP ) $(OBJS )
@@ -951,7 +952,7 @@ net: netvariables
951952 fi ; \
952953
953954format :
954- $(CLANG-FORMAT ) -i $(SRCS ) $(HEADERS ) -style=file:../.clang-format
955+ $(CLANG-FORMAT ) -i $(SRCS ) $(HEADERS ) -style=file
955956
956957# default target
957958default :
You can’t perform that action at this time.
0 commit comments