Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion depends/builders/freebsd.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build_freebsd_CC=clang
build_freebsd_CXX=clang++

build_freebsd_SHA256SUM = shasum -a 256
build_freebsd_SHA256SUM = sha256sum
Comment thread
fanquake marked this conversation as resolved.
build_freebsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o

@davidgumberg davidgumberg Jan 17, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
build_freebsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
build_freebsd_DOWNLOAD = fetch --timeout 180 --retry -o

related but probably out-of-scope: freebsd's fetch utility could be used to also drop the curl dependency, there is a regression since it is unable to limit number of retries(16-year old patch awaits feedback), and to set a handshake timeout, but these can be approximated with a total connection life timeout