Skip to content

Commit

Permalink
feat: update "binaryTargets" reference for Linux Alpine arm64 (#4491)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolas <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
  • Loading branch information
3 people authored Nov 20, 2023
1 parent b3f9adf commit 73a275e
Showing 1 changed file with 20 additions and 13 deletions.
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.

##### 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

1 comment on commit 73a275e

@vercel
Copy link

@vercel vercel bot commented on 73a275e Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

docs-prisma.vercel.app
prisma2-docs.vercel.app
docs-git-main-prisma.vercel.app

Please sign in to comment.