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

Document Apple Silicon support #101

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
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
13 changes: 4 additions & 9 deletions website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,17 @@ This page contains the detailed requirements and installation instructions for a

## Hardware requirements

The Hyper API only supports 64-bit platforms.
It has the following minimum hardware requirements:
The Hyper API only supports 64-bit platforms. It has the following minimum hardware requirements:

- Intel Nehalem or AMD Bulldozer processor or newer
- Intel Nehalem, Apple Silicon or AMD Bulldozer processor or newer
- 2 GB memory
- 1.5 GB minimum free disk space

```mdx-code-block
import { AppleSiliconWorkarounds } from "@site/src/components/AppleSiliconWorkarounds.tsx";

<AppleSiliconWorkarounds />
```

## Supported platforms

- macOS 10.13 or newer
- macOS 10.13 or newer (for Intel)
- macOS 13.0 or newer (for Apple Silicon)
- Microsoft Windows 8 or newer (64-bit)
- Microsoft Windows Server 2016, 2012, 2012 R2, 2008 R2, 2019
- Ubuntu 18.04 LTS, 20.04 LTS and 22.04 LTS
Expand Down
5 changes: 3 additions & 2 deletions website/docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ import {config} from '@site/src/config';

```mdx-code-block
import {DownloadPicker} from '@site/src/components/DownloadPicker'
import { AppleSiliconWorkarounds } from "@site/src/components/AppleSiliconWorkarounds.tsx";

<DownloadPicker />
<AppleSiliconWorkarounds />
```

## Release Notes
Expand All @@ -34,13 +32,16 @@ In case you are wondering why all our releases start with `0.0`, read [this FAQ
* A `CAST(… AS double precision)` is needed to store such columns in older file formats.
* Documented the new and improved [database file format version 3](hyper-api/hyper_process#version-3) that was introduced in version 0.0.16123. The new format supports 128-bit numerics. Refer to [Hyper Database Settings](/docs/hyper-api/hyper_process#default_database_version) for more information.
* Documented the [regexp_replace](sql/scalar_func/string_matching#regex-functions) function which provides substitution of new text for substrings based on POSIX regular expressions.
* Added native support for Apple Silicon processors (aarch64) for macOS 13.0 or newer

:::warning
Queries using `REAL`, `FLOAT4`, or `FLOAT(p)` with `p <= 24` are now treated as 32-bit floating points.
This can lead to different results due to the reduced precision of 32-bit floating points.
To preserve the old behavior, you need to use the types `DOUBLE PRECISION`, `FLOAT8`, or `FLOAT(p)` with `p >= 25`. These continue to be treated as 64-bit floating points.
:::



### 0.0.18825 [March 6, 2024]

* Updated OpenSSL version from 3.1.4 to 3.2.1
Expand Down
35 changes: 0 additions & 35 deletions website/src/components/AppleSiliconWorkarounds.tsx

This file was deleted.

15 changes: 12 additions & 3 deletions website/src/components/DownloadPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,22 @@ export function DownloadPicker() {
>
<ul>
<li>
<a href={config.download.macos_py}>Python .whl (macOS)</a>
<a href={config.download.macos_py}>Python .whl (macOS x64)</a>
</li>
<li>
<a href={config.download.macos_cxx}>C++ (macOS)</a>
<a href={config.download.macos_arm_py}>Python .whl (macOS ARM)</a>
</li>
<li>
<a href={config.download.macos_java}>Java (macOS)</a>
<a href={config.download.macos_cxx}>C++ (macOS x64)</a>
</li>
<li>
<a href={config.download.macos_arm_cxx}>C++ (macOS ARM)</a>
</li>
<li>
<a href={config.download.macos_java}>Java (macOS x64)</a>
</li>
<li>
<a href={config.download.macos_arm_java}>Java (macOS ARM)</a>
</li>
</ul>
</TabItem>
Expand Down
6 changes: 5 additions & 1 deletion website/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export const config = {
macos_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-macos-x86_64-release-main.${version_long}.zip`,
macos_java: `${downloadBaseUrl}/tableauhyperapi-java-macos-x86_64-release-main.${version_long}.zip`,

linux_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-manylinux2014_x86_64.whl`,
macos_arm_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-macosx_13_0_arm64.whl`,
macos_arm_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-macos-arm64-release-main.${version_long}.zip`,
macos_arm_java: `${downloadBaseUrl}/tableauhyperapi-java-macos-arm64-release-main.${version_long}.zip`,

linux_py: `${downloadBaseUrl}/tableauhyperapi-${version_short}-py3-none-macosx_13_0_arm64.whl`,
linux_cxx: `${downloadBaseUrl}/tableauhyperapi-cxx-linux-x86_64-release-main.${version_long}.zip`,
linux_java: `${downloadBaseUrl}/tableauhyperapi-java-linux-x86_64-release-main.${version_long}.zip`,

Expand Down
Loading