Skip to content
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

feat: update "binaryTargets" reference for Linux Alpine arm64 #4491

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,31 +176,38 @@ A `generator` block accepts the following fields:

The following tables list all supported operating systems with the name of platform to specify in [`binaryTargets`](/concepts/components/prisma-schema/generators#binary-targets).

Unless specified otherwise, the default supported CPU architecture is x86_64.
janpio marked this conversation as resolved.
Show resolved Hide resolved
nikolasburk marked this conversation as resolved.
Show resolved Hide resolved

##### macOS

| Build OS | Prisma engine build name |
| :-------------- | :----------------------- |
| macOS Intel x86 | `darwin` |
| macOS ARM64 | `darwin-arm64` |
| Build OS | Prisma engine build name |
| :----------------- | :----------------------- |
| macOS Intel x86_64 | `darwin` |
| macOS ARM64 | `darwin-arm64` |

##### Windows

| Build OS | Prisma engine build name |
| :------- | :----------------------- |
| Windows | `windows` |

##### Linux (Alpine)
##### Linux (Alpine on x86_64 architectures)

| Build OS | Prisma engine build name | OpenSSL |
| :------------------------------ | :----------------------------------- | :-----: |
| Alpine (3.16 and older), x86_64 | `linux-musl` | 1.1.x |
| Alpine (3.17 and newer), x86_64 | `linux-musl-openssl-3.0.x`\* | 3.0.x |
| Alpine (3.16 and older), ARM64 | `linux-musl-arm64-openssl-1.1.x`\*\* | 1.1.x |
| Alpine (3.17 and newer), ARM64 | `linux-musl-arm64-openssl-3.0.x`\*\* | 3.0.x |
| Build OS | Prisma engine build name | OpenSSL |
| :------------------ | :--------------------------- | :-----: |
| Alpine (3.17 and newer) | `linux-musl-openssl-3.0.x`\* | 3.0.x |
| Alpine (3.16 and older) | `linux-musl` | 1.1.x |

\* Available in Prisma versions 4.8.0 and later.

\*\* Available in Prisma versions 4.10.0 and later.
##### Linux (Alpine on ARM64 architectures)

| Build OS | Prisma engine build name | OpenSSL |
| :------------------ | :--------------------------------- | :-----: |
| Alpine (3.17 and newer) | `linux-musl-arm64-openssl-3.0.x`\* | 3.0.x |
| Alpine (3.16 and older) | `linux-musl-arm64-openssl-1.1.x`\* | 1.1.x |

\* Available in Prisma versions 4.10.0 and later.

##### Linux (Debian), x86_64

Expand Down Expand Up @@ -259,7 +266,7 @@ The following tables list all supported operating systems with the name of platf
| Arch Linux 2019.09.01 | `debian-openssl-1.1.x` | 1.1.x |
| Arch Linux 2023.04.23 | `debian-openssl-3.0.x` | 3.0.x |

##### Linux (most distributions except Alpine), ARM64
##### Linux ARM64 (all major distros but Alpine)

| Build OS | Prisma engine build name | OpenSSL |
| :----------------------------- | :-------------------------- | :-----: |
Expand Down
Loading