Comments (8)
@tdcmeehan You can build natively on arm as long as the OS has the dependencies/packages for arm. You can build a macos docker image on Mac M1 but not Centos Stream since that does not provide packages for arm.
from presto.
I was able to build the Ubuntu container on my Mac M1. However, some changes are required.
Presto changes: https://github.com/prestodb/presto/pull/23109/files
Velox changes: facebookincubator/velox#10346
I will work towards landing these PRs.
from presto.
I see that Ubuntu has an image for arm https://ubuntu.com/download/server/arm. I am testing the build on Mac M1.
from presto.
You can build and run an Centos x86_64 aarch image using qemu on ARM64 Mac M1.
From the log you shared, I see qemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20}
. Is this local to your setup?
I was able to run x86_64 prestissimo runtime image using both podman and docker-desktop.
from presto.
From the log you shared, I see qemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20}. Is this local to your setup?
Yes.
I was also able to run x86_64 prestissimo runtime image using podman in Mac M1. But I am not able to build native. If we can build an prestissimo image using qemu on ARM64 Mac M1, can we document the procedure.
from presto.
Qemu is emulating the x86_64 architecture on arm64. Ideally, no additional steps should be required.
qemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20}
means that this is not a prestissimo issue but a qemu issue.
from presto.
@majetideepak do we have alignment that it would be ideal to be able to build Prestissimo natively on ARM? Using Qemu seems to require substantial resources, and ideally we would like developers to be able to write and run tests that utilize containers to handle environment setup for testing purposes.
from presto.
@majetideepak is it possible to make a presto-native-dependency
image for ARM64 by adding required packages on macos docker image.
from presto.
Related Issues (20)
- PREPARE fails for INSERT statements using non-standard characters (ex: '-') in quoted identifiers HOT 2
- Pushdown projects into value node HOT 1
- Support different types of COW and MOR queries for Apache Hudi HOT 2
- More NaNs in UI HOT 1
- Connector specific session properties missed in manually started transaction in test framework
- The links for documents are invalid in presto homepage HOT 3
- Left align message HOT 4
- Query failed: / by zero --> division by zero
- [docs] disable running unneeded tests for docs-only PRs HOT 2
- [Native] Clang format InsertNewlineAtEOF invalid argument error in CI job HOT 1
- Lack of support for the ANSI SQL syntax `FETCH FIRST N ROWS WITH TIES`
- Behavior change in CAST(DATE as VARCHAR(x)) results in versions > 0.280
- Missing an HTTP endpoint to ensure the Presto Docker Container is ready HOT 5
- testQueryHeartbeat is flaky
- CircleCI format check jobs are failing HOT 1
- Session is completely corrupted by the failed statement in a non-autocommit transaction
- CLI should handle JSON error responses
- Rewrite small-medium sized VALUES to unnest
- Equality semantics of TIMESTAMP WITH TIME ZONE type can cause inconsistent behavior HOT 49
- Histograms can consume significant amounts of memory in query history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presto.