-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TigerBeetle doesn't have dependencies and they are hidden in this repository. | ||
|
||
Currently, this repository vendors a copy of llvm-objcopy for use during build process. There's no | ||
easy way to install _just_ objcopy without pulling the entirety of LLVM. Versions for mac and windows | ||
are pulled from https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.8. Version for linux | ||
is build with | ||
|
||
``` | ||
docker run -it --name llvm_build ubuntu:latest /bin/bash -c " | ||
apt-get update && apt-get install -y git cmake ninja-build clang | ||
git clone --depth 1 --branch release/18.x https://github.com/llvm/llvm-project.git | ||
mkdir llvm-project/build && cd llvm-project/build | ||
cmake -G Ninja -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_STATIC=ON ../llvm | ||
ninja llvm-objcopy | ||
" | ||
docker cp llvm_build:/llvm-project/build/bin/llvm-objcopy . | ||
docker rm llvm_build | ||
``` | ||
|
||
From source build is used to make a static executable (`-DLLVM_BUILD_STATIC=ON`). | ||
|
||
All three binaries are available as a GH release in this repository. |
Binary file not shown.
Binary file not shown.
Binary file not shown.