-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for FreeBSD #49
Comments
A quick update, after many peoples help we now can There is no easy way to do github actions with FreeBSD, The FreeBSD ports & package system is going to be the way |
@dch what would that look like? Downloading from a different source or raising a helpful error for freebsd usage with custom instructions? |
@chrismccord sorry for the delayed reply. I've not had this building inside a no-net container yet, which is a requirement for building inside ports - somewhere in the 70+Mb of downloaded javascripts is an assumption that there must be a reachable network. In the interim, are we able to download from e.g. https://people.freebsd.org/~dch/pub/tailwind/tailwindcss-v3.2.4-freebsd-x64.xz, with a suitable checksum? Or, I can set up some sort of build script that generates these artefacts through an inspectable build log, and then use that? Finally, we can offload this trust choice to users and point them towards that URL with some warnings about strange people on the internet. I'm not planning to spend my Christmas vacation hacking javascripts packaging tools, when I could be playing with LiveView. What's an appropriate level of trust? |
Wohooo !!! @chrismccord and @dch |
Tailwind tasks doesn't work for me:
with Erlang 26.0.2. It downloads tailwind binary for Linux instead of FreeBSD. This is because this code Line 248 in 2298fd3
So the arch string should be fixed here Line 255 in 2298fd3
|
@SukhikhN the most common case is installing OTP via binary package, which gives us:
how did you install Erlang/OTP? what do you get instead? We may need to PR both cases. Assuming you used asdf, I tried installing erlang latest, and get an unrelated error atm:
Currently built tailwind versions: I use You will also need lang/gcc installed for tailwind to run. |
Yes, I have Erlang 26.0.2 installed using asdf. Here is the system info:
|
@SukhikhN perhaps PR for this?
|
`:erlang.system_info` on FreeBSD x64 may return different processor architecture strings depending on how it was installed - from ports, via asdf or using other methods.
Could this #95 be merged please? |
Hi all,
I posted this discussion in the tailwind repo: tailwindlabs/tailwindcss#7826
There is currently no binary for freebsd and I relay like to use
phoenixframework/tailwind
as well as I love my FreeBSD servers.I tried to compile the source with
vercel/pkg
but did not succeed. Is there anyone else out there who needs a FreeBSD binary and more knowledge about how to compile that?kind regards!
The text was updated successfully, but these errors were encountered: