-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Build xxh-shell for any kernel and architecture #73
Comments
I've added getting Also every portable shell should have the portable binary for every system. Only zsh-bin has it now. This is a complex goal but it could be achieved if we can make a clear strategy how to do it. PRs or thoughts are welcome. One of the ways is create prebuilt packages like docker images. To run the portable shell you can just build it for the platform and use it as all in one xxh package. |
I have a tried to get zsh working on freebsd with success , but with a lot of hacks and not reliable I just want to check how much code have to be changed. The main problem I have now is that packages_operations() is not aware of any platform or kernel variable which have to be passed to the build.sh of zsh in my case. To install the right zsh/bin to the remote system , $arch and $kernel needs to be passed to the build.sh First I thought it make sense to pass them via the config file, but if you just init your shell on the local device, you will not know which platforms you need int the future. Maybe it make sense to create something like init() where you have to add the paltform for your remote system which is then added to the config file ? best regards, sharky |
My current vision how it could be solved:
I think there will changes around using |
Hi @network-shark! Thank you for bumping this thread! Please put your like to the first message to count statistics. Will the described process above work for you or you made more significant changes? |
Hey sorry for the bump, this seems more relevant now with the increase of ARM servers and hosts in production, is there any implementation for arch specific xxh shells? Am I right in my understanding that if I do an if statement on the $ARCH variable coming from build.sh and download the appropriate arch it will extract that when needed and copy it to the system? Or do both have to be copied to work Update: Tried it and it doesn't work, but I'm not sure if it's because macOS isn't populating the
Update: Ah, it's the install flag not building if the arch is different, it only builds on install, got you :-) This would be an awesome thing to implement Either way I love the project, bought you some coffees on that link and would love if you could set up a proper method of supporting you monthly @anki-code :-) I feel like an easy way to do this would be to just add a flag that grabs the repo locally or from git and then builds it on the target host, but it sounds like youre planning something way more fancy :) I see now that |
Hey @agnosticlines ! I'm very appreciate your donation! I have no sponsorship enabled on Github and probably it takes some research of services like this. This feature is highly desirable but the trick is not every shell could be build for any architecture. The zsh is most close to solve this. And probably xonsh too because of ability to run python everywhere. I think we must have a way to adopt the algorithm of building to any target OS. PRs is very welcome! Personally I have not enough time to implement this now. But I think I can spend some time to review the code again and estimate the work soon. |
Heya, any news on this? I'm using Termux to connect to my x64 server but fail to because of building errors |
Hi @Mythical-Forest-Collective you can fork any xxh-shell and make x64 version. |
For community:
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: