Apple Clang
14.3.1
LLVM
14
LLD
14
Boost
1.86.0
CMake
3.23.1
Protobuf
3.20.0
WasmEdge
0.11.2
Download an older version of Xcode
Go to the https://developer.apple.com/download/more/ page. You will need to sign in with your Apple Developer account.
Search for the version of Xcode that includes Apple Clang 14. This is typically specified in the release notes for each Xcode version.
Download the Xcode `.xip` file for the version you need.
Install the older version of Xcode:
Once the download is complete, extract the `.xip` file, which will give you an Xcode application.
Rename this Xcode application if you want to keep multiple versions of Xcode on your system (e.g., `Xcode_14.3.1.app`).
Drag the Xcode application to your `/Applications` directory.
Switch to the desired version of the toolchain
If you want to use the newly installed version of Xcode and its toolchain by default, you can switch to it using the `xcode-select` command:
Replace `Xcode_14.3.1.app` with the actual name of the Xcode version you installed.
Open Terminal and run the following command to check the version of Clang:
clang --version
If you want to use a specific version of Apple Clang for command line builds you can use the following;
First make a dependency directory. I like to use ~/dependencies
Next we need to set the environment variables.
Install Protobuf
Install Boost
Install WasmEdge
From the root xahaud
directory:
Start the built node
A Guide to Setting Up the Development Environment.
This section provides detailed instructions for setting up the build environment on both Ubuntu 22.04 and macOS 13.5.2.
The building Xahau chapter will guide you through the process of establishing environmental variables, installing core and Xahaud dependencies, and compiling the software, including the acquisition and setup of essential components like LLVM, Boost, WasmEdge, and Protobuf.
The steps explain why certain versions and configurations are needed to ensure compatibility and optimal performance. Ending with cloning the Xahau repository and creating the Xahaud target, which sets developers on the path to adding to or deploying the Xahau network.
GCC / G++
14.0.3
LLVM
14.0.3
LLD
14.0.3
Boost
1.86.0
CMake
3.23.1
Protobuf
3.20.0
WasmEdge
0.11.2
First make a dependency directory. I like to use ~/dependencies
Next we need to set the environment variables.
If you are using Ubuntu 20.04 change the `UBUNTU_VERSION=focal`
To Resolve the `E: The repository 'http://apt.llvm.org/ llvm-toolchain-- Release
error:
Install CMake
Install Protobuf
Install Boost
Install WasmEdge
From the root xahaud
directory:
Start the built node