Skip to content

Commit c1559f6

Browse files
author
Loïc Hoguin
committed
make: Don't call find in rabbitmq_cli's Makefile
This greatly speeds up execution because we go through this Makefile twice (currently). Once for building and once for installing (e)scripts. make -C deps/rabbit 0,37s user 0,15s system 101% cpu 0,508 total make -C deps/rabbit 0,35s user 0,09s system 100% cpu 0,438 total
1 parent 3aa829f commit c1559f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbitmq_cli/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ app:: $(ESCRIPTS)
7878
@:
7979

8080
rabbitmqctl_srcs := mix.exs \
81-
$(shell find config lib -name "*.ex" -o -name "*.exs")
81+
$(call core_find,config/,*.exs) \
82+
$(call core_find,lib/,*.ex)
8283

8384
# Elixir dependencies are fetched and compiled as part of the alias
8485
# `mix make_all`. We do not fetch and build them in `make deps` because

0 commit comments

Comments
 (0)