Skip to content
Draft
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
12 changes: 12 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,15 @@
architecture: "x86_64"
run_docker_build: true
run_build: false

- repository: "firedancer"
project_name: "frankendancer"
architecture: "x86_64"
binaries:
- "fdctl"
- "solana"
builder: "rust"
builder_version: "1.81"
cpu: "generic"
patches: false
purpose: "node"
24 changes: 24 additions & 0 deletions scripts/frankendancer/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -euo pipefail

cd "${DEPOT_PROJECT_NAME}"

# Initialize and update submodules
git submodule update --init --recursive

# Install additional dependencies required by Firedancer
sudo apt-get install -y --no-install-recommends libclang-dev diffutils

# export FD_AUTO_INSTALL_PACKAGES=1
# sudo -E ./deps.sh fetch check install

# Build the binaries
MACHINE="linux_gcc_x86_64" make -j fdctl solana

mkdir -p bin

build_binaries="$(deno run --allow-read --allow-env ../utils/binaries.ts)"

echo "${build_binaries}" | jq -r 'to_entries[] | "\(.key) \(.value)"' | while read -r binary path; do
mv -v "build/${MACHINE:-native}/gcc/bin/${binary}" "${path}"
done
Loading