Skip to content
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
6 changes: 3 additions & 3 deletions docs/en/docs/install/source-install/compilation-mac.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Compile from Source(macOS x86_64/arm64)",
"title": "Compilation on macOS",
"language": "en"
}
---
Expand All @@ -24,7 +24,7 @@ specific language governing permissions and limitations
under the License.
-->

# Compile from Source(macOS x86_64/arm64)
# Compilation on macOS

This post introduces how to compile from source on macOS (both x86_64 and arm64).

Expand All @@ -42,7 +42,7 @@ This post introduces how to compile from source on macOS (both x86_64 and arm64)
python cmake ninja ccache bison byacc gettext wget pcre maven openjdk@11 npm
```

2. Compile from srouce
2. Compile from source
```shell
bash build.sh
```
Expand Down
7 changes: 3 additions & 4 deletions docs/zh-CN/docs/install/source-install/compilation-mac.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "源码编译(macOS x86_64/arm64)",
"title": "在macOS平台上编译",
"language": "zh-CN"
}
---
Expand All @@ -24,7 +24,7 @@ specific language governing permissions and limitations
under the License.
-->

# 源码编译(macOS x86_64/arm64)
# 在macOS平台上编译

本文介绍如何在macOS平台上编译源码。

Expand All @@ -51,8 +51,7 @@ under the License.

1. [Apache Doris Third Party Prebuilt](https://github.com/apache/doris-thirdparty/releases/tag/automation)页面有所有第三方库的源码,可以直接下载[doris-thirdparty-source.tgz](https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-source.tgz)获得。

2. 如果平台使用的是 _**Intel**_ 芯片,也可以在[Apache Doris Third Party Prebuilt](https://github.com/apache/doris-thirdparty/releases/tag/automation)页面直接下载预编译好的第三方库[doris-thirdparty-prebuilt-darwin-x86_64.tar.xz](https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-prebuilt-darwin-x86_64.tar.xz)
省去编译第三方库的过程,参考下面的命令。
2. 如果平台使用的是 _**Intel**_ 芯片,也可以在[Apache Doris Third Party Prebuilt](https://github.com/apache/doris-thirdparty/releases/tag/automation)页面直接下载预编译好的第三方库[doris-thirdparty-prebuilt-darwin-x86_64.tar.xz](https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-prebuilt-darwin-x86_64.tar.xz),省去编译第三方库的过程,参考下面的命令。
```shell
cd thirdparty
curl -L https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-prebuilt-darwin-x86_64.tar.xz \
Expand Down