Giter Site home page Giter Site logo

ARM64 Build about openr HOT 4 CLOSED

facebook avatar facebook commented on May 2, 2024
ARM64 Build

from openr.

Comments (4)

saifhhasan avatar saifhhasan commented on May 2, 2024

We internally build for arm39x platform and works fine. However we do have some patches to make folly build happy.

Open task with folly https://github.com/facebook/folly for it ? I am sure you can figure it out.

from openr.

bodleytunes avatar bodleytunes commented on May 2, 2024

OK I will check it out :)

from openr.

saifhhasan avatar saifhhasan commented on May 2, 2024

Closing issue as it is not Open/R related.

from openr.

bodleytunes avatar bodleytunes commented on May 2, 2024

Just in case its of any use for someone in the future (n00bs to compiling like myself), I managed to compile on ARM64 on scaleway.

I had to download these files as it wouldn't detect the correct architecture:

wget http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
wget http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD

config.sub and config.guess

I put these in /root/openr/build/deps/glog replacing any old ones

I then had to remove references to -sse4.2 and the other flag in the CXX makefiles, e.g. makefile.ac, makefile.in etc (just do a grep in the dir)

then add -Wno-noexcept-type into the CMAKe file as it was bombing out at some point during compilation.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wno-noexcept-type")

Finally I was missing libffi-dev
apt install libffi-dev

Finally it compiled but with one error during the final tests.

It took hours to compile!

Cheers,
Jon.

from openr.

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.