bazelisk icon indicating copy to clipboard operation
bazelisk copied to clipboard

Please add freebsd support. Bazel works fine when installed using the package manager.

Open yesudeep opened this issue 5 years ago • 5 comments

Hi!

I get this when running bazelisk on GhostBSD 20.08.04

2020/08/15 17:29:49 could not download Bazel: could not determine filename to use for Bazel binar: unsupported operating system "freebsd", must be Linux, macOS or Windows

Could you please add support for FreeBSD as well?

yesudeep avatar Aug 16 '20 00:08 yesudeep

Hi @yesudeep,

we can add support to Bazelisk, but Bazel currently does not build official release binaries for FreeBSD. Would this still be useful for you (e.g. by using a private mirror that has these binaries)?

Otherwise we'd have to add support to Bazel's CI for FreeBSD again.

philwo avatar Aug 21 '20 13:08 philwo

Did Bazel CI have support for FreeBSD before? I'm okay with the official Bazel package that comes with FreeBSD.

yesudeep avatar Aug 23 '20 08:08 yesudeep

Actually, having tried to build multiple libraries on FreeBSD/OpenBSD, I'd highly recommend adding support for them because it's helped me catch several subtle errors that occur on those systems. Bazel support for these OS's would allow packages to adopt Bazel as a build system faster too and would make porting software easier.

yesudeep avatar Sep 03 '20 18:09 yesudeep

Actually, having tried to build multiple libraries on FreeBSD/OpenBSD, I'd highly recommend adding support for them because it's helped me catch several subtle errors that occur on those systems. Bazel support for these OS's would allow packages to adopt Bazel as a build system faster too and would make porting software easier.

How did you install bazel on freebsd?

rajhlinux avatar Sep 11 '22 02:09 rajhlinux

@rajhlinux I used the bazel package on FreeBSD.

yesudeep avatar Sep 11 '22 23:09 yesudeep

Would love to see this. @philwo

yesudeep avatar Dec 12 '22 07:12 yesudeep

+1 for FreeBSD support - can't get libtensorflow to run without it :/

hukl avatar Dec 07 '23 10:12 hukl

I'm closing this issue since we cannot do anything here before Bazel publishes binaries for FreeBSD (which seems unlikely in the near future).

fweikert avatar Feb 06 '24 17:02 fweikert