mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-31 10:31:46 +00:00
BUILD: reorder objects in the Makefile for faster builds
Splitting large files and changing includes has changed the per-file build time. After a careful reordering based on build time, we're now down to 5.8s at -O0 on the PC at -j8 and 2.4-2.6s on the farm at -j120. Some room for at least one file name was left on each line to ease future additions.
This commit is contained in:
parent
36979d9ad5
commit
920214e8c4
54
Makefile
54
Makefile
@ -789,31 +789,35 @@ all: haproxy $(EXTRA)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS = src/mux_h2.o src/stream.o src/mux_fcgi.o src/cfgparse-listen.o \
|
OBJS = src/mux_fcgi.o src/mux_h1.o src/mux_h2.o src/backend.o \
|
||||||
src/http_ana.o src/stats.o src/mux_h1.o src/flt_spoe.o src/server.o \
|
src/cfgparse.o src/cli.o src/cfgparse-listen.o src/stats.o \
|
||||||
src/cfgparse.o src/check.o src/tcpcheck.o src/backend.o src/log.o src/peers.o \
|
src/http_ana.o src/stream.o src/check.o src/sample.o \
|
||||||
src/cli.o src/haproxy.o src/stick_table.o src/tools.o src/sample.o \
|
src/tools.o src/server.o src/listener.o src/tcpcheck.o \
|
||||||
src/proxy.o src/stream_interface.o src/pattern.o src/dns.o \
|
src/pattern.o src/log.o src/stick_table.o src/flt_spoe.o \
|
||||||
src/proto_tcp.o src/listener.o src/cfgparse-global.o src/h1.o \
|
src/stream_interface.o src/filters.o src/http_fetch.o \
|
||||||
src/http_rules.o src/http_fetch.o src/cache.o src/session.o \
|
src/map.o src/session.o src/sink.o src/flt_http_comp.o \
|
||||||
src/fcgi-app.o src/connection.o src/tcp_rules.o src/filters.o \
|
src/debug.o src/tcp_rules.o src/haproxy.o src/peers.o \
|
||||||
src/task.o src/mworker.o src/map.o src/h1_htx.o src/trace.o \
|
src/flt_trace.o src/queue.o src/proxy.o src/http_htx.o \
|
||||||
src/flt_trace.o src/acl.o src/http_htx.o src/flt_http_comp.o \
|
src/dns.o src/raw_sock.o src/pool.o src/http_act.o \
|
||||||
src/payload.o src/vars.o src/debug.o src/mux_pt.o src/http_act.o \
|
src/http_rules.o src/compression.o src/cfgparse-global.o \
|
||||||
src/h2.o src/queue.o src/fd.o src/proto_uxst.o src/lb_chash.o \
|
src/payload.o src/signal.o src/activity.o src/mworker.o \
|
||||||
src/ring.o src/frontend.o src/raw_sock.o src/xprt_handshake.o \
|
src/cache.o src/proto_uxst.o src/lb_chash.o src/connection.o \
|
||||||
src/htx.o src/pool.o src/applet.o src/channel.o src/signal.o \
|
src/proto_tcp.o src/http_conv.o src/arg.o src/lb_fas.o \
|
||||||
src/lb_fwrr.o src/ev_select.o src/sink.o src/http_conv.o \
|
src/xprt_handshake.o src/fcgi-app.o src/applet.o src/acl.o \
|
||||||
src/proto_sockpair.o src/mworker-prog.o src/activity.o src/lb_fwlc.o \
|
src/task.o src/ring.o src/vars.o src/trace.o src/mux_pt.o \
|
||||||
src/http.o src/lb_fas.o src/uri_auth.o src/thread.o src/regex.o \
|
src/xxhash.o src/mworker-prog.o src/h1_htx.o src/frontend.o \
|
||||||
src/auth.o src/buffer.o src/compression.o src/proto_udp.o src/lb_map.o \
|
src/extcheck.o src/channel.o src/action.o src/mailers.o \
|
||||||
src/chunk.o src/wdt.o src/hpack-dec.o src/action.o src/xxhash.o \
|
src/proto_sockpair.o src/ebmbtree.o src/thread.o \
|
||||||
src/pipe.o src/shctx.o src/hpack-tbl.o src/http_acl.o src/sha1.o \
|
src/lb_fwrr.o src/time.o src/regex.o src/lb_fwlc.o \
|
||||||
src/time.o src/hpack-enc.o src/fcgi.o src/arg.o src/base64.o \
|
src/htx.o src/h2.o src/hpack-tbl.o src/lru.o src/wdt.o \
|
||||||
src/protocol.o src/freq_ctr.o src/lru.o src/hpack-huff.o src/dict.o \
|
src/lb_map.o src/eb32sctree.o src/ebistree.o src/h1.o \
|
||||||
src/eb32sctree.o src/eb32tree.o src/eb64tree.o src/ebmbtree.o \
|
src/sha1.o src/http.o src/fd.o src/ev_select.o src/chunk.o \
|
||||||
src/ebsttree.o src/ebimtree.o src/ebistree.o src/ebtree.o \
|
src/hash.o src/hpack-dec.o src/freq_ctr.o src/http_acl.o \
|
||||||
src/extcheck.o src/hash.o src/mailers.o src/version.o
|
src/buffer.o src/uri_auth.o src/protocol.o src/auth.o \
|
||||||
|
src/ebsttree.o src/pipe.o src/hpack-enc.o src/fcgi.o \
|
||||||
|
src/eb64tree.o src/dict.o src/shctx.o src/ebimtree.o \
|
||||||
|
src/eb32tree.o src/ebtree.o src/proto_udp.o \
|
||||||
|
src/hpack-huff.o src/base64.o src/version.o
|
||||||
|
|
||||||
ifneq ($(TRACE),)
|
ifneq ($(TRACE),)
|
||||||
OBJS += src/calltrace.o
|
OBJS += src/calltrace.o
|
||||||
|
Loading…
Reference in New Issue
Block a user