Giter VIP home page Giter VIP logo

Comments (10)

rafal1137 avatar rafal1137 commented on May 25, 2024 1

There is a section about omnibot compilation on aarch64
https://techyian.github.io/2018-10-14-install-enemy-territory-on-raspberry-pi/

from etlegacy.

sebdanielsson avatar sebdanielsson commented on May 25, 2024 1

This post misses the Boost installation part, but I got most of the pieces.

My goal is to implement this compilation in Omni-Bot's CI, as official builds come from there.

Since GitHub Actions doesn't have aarch64 runners, I'm trying to cross-compile from x86-64. It's unfortunate that it is required to have libboost built with -fPIC to be able to build the omni-bot library, as distributions don't have static libraries compiled with this flag.

I'm first trying a build with the b2 tool from Boost but then I'll modify the CMake files in Omni-Bot repository once it is working.

If it's possible to build under macOS, GitHub offers arm64 runners since January.
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

from etlegacy.

Exagone313 avatar Exagone313 commented on May 25, 2024

Relates to:

from etlegacy.

mittermichal avatar mittermichal commented on May 25, 2024

not just RPi, many VPS providers now offer hosting on this architecture

from etlegacy.

Exagone313 avatar Exagone313 commented on May 25, 2024

This post misses the Boost installation part, but I got most of the pieces.

My goal is to implement this compilation in Omni-Bot's CI, as official builds come from there.

Since GitHub Actions doesn't have aarch64 runners, I'm trying to cross-compile from x86-64. It's unfortunate that it is required to have libboost built with -fPIC to be able to build the omni-bot library, as distributions don't have static libraries compiled with this flag.

I'm first trying a build with the b2 tool from Boost but then I'll modify the CMake files in Omni-Bot repository once it is working.

from etlegacy.

Exagone313 avatar Exagone313 commented on May 25, 2024

I successfully cross-built omni-bot for aarch64 (using an x86-64 host), see the steps I used on jswigart/omni-bot#22 (comment)

I had some issues so editing CMake and GitHub actions on omni-bot repository won't be as easy as I wanted.

from etlegacy.

rafal1137 avatar rafal1137 commented on May 25, 2024

@Exagone313 Looks like its done/fixed. Do you want to close this issue by yourself ?

from etlegacy.

Exagone313 avatar Exagone313 commented on May 25, 2024

@rafal1137 Only a part is done, this issue will be completed once ET legacy can ship omni-bot for Linux aarch64.

from etlegacy.

rafal1137 avatar rafal1137 commented on May 25, 2024

aarch omnibot file should be included in atleast latest snapshot build
This issue can be closed

from etlegacy.

Exagone313 avatar Exagone313 commented on May 25, 2024

@rafal1137 I don't think it does:

$ curl -LO https://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz
$ tar tf omnibot-linux-latest.tar.gz | grep 'so$'
omni-bot/omnibot_et_mac.so
omni-bot/omnibot_et.so
omni-bot/omnibot_et.x86_64.so

The binaries included in the archive are from omni-bot latest release ET archive which doesn't contain Linux aarch64 binaries since it depends on builds made from the CI of omni-bot repository.

It'll be fixed when I (or someone else) will have modified omni-bot CI and then convinced the omni-bot maintainer to make a new release with this CI 😄

Then the new official binary could be included in the ET Legacy omni-bot mirror archives and next ET Legacy releases will be able to ship with Linux aarch64 omni-bot.

from etlegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.