From c155134c2fb7f31257a5f0bfdbf1879ca87c97e6 Mon Sep 17 00:00:00 2001 From: Hitokun Date: Thu, 26 Dec 2024 20:17:34 -0600 Subject: [PATCH 1/3] Update BUILDING.md Update output path for Starship when following instructions on OS X --- docs/BUILDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/BUILDING.md b/docs/BUILDING.md index 67898398..cd119097 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -185,7 +185,7 @@ cmake --build build-cmake --target ExtractAssets cmake --build build-cmake # Now you can run the executable file: -./build-cmake/mm/starship-macos +./build-cmake/Starship # To develop the project open the repository in VSCode (or your preferred editor) ``` From fafc6b28c07c0e8a584732177b28429a4b95b188 Mon Sep 17 00:00:00 2001 From: Hitokun Date: Fri, 27 Dec 2024 18:30:50 -0600 Subject: [PATCH 2/3] Update BUILDING.md I added a step to copy and rename the rom into the working dir for OSX build instructions. ExtractAssets will fail if there's no baserom.us.rev1.z64 --- docs/BUILDING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/BUILDING.md b/docs/BUILDING.md index cd119097..87108142 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -177,6 +177,11 @@ git submodule update --init # Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging cmake -H. -Bbuild-cmake -GNinja +# Copy ROM to working dir with the expected name +# Update $ROM_PATH to point to your ROM) +ROM_PATH=~/rom.z64 +cp $ROM_PATH baserom.us.rev1.z64 + # Generate sf64.otr cmake --build build-cmake --target ExtractAssets From 0a1e0b6c1e062c91bf1f515de755d8cdce30a4b7 Mon Sep 17 00:00:00 2001 From: Hitokun Date: Mon, 30 Dec 2024 17:15:04 -0600 Subject: [PATCH 3/3] Create BUILD_DEBIAN-BOOKWORM_ARM64.md Add build instructions for ARM64 --- docs/BUILD_DEBIAN-BOOKWORM_ARM64.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/BUILD_DEBIAN-BOOKWORM_ARM64.md diff --git a/docs/BUILD_DEBIAN-BOOKWORM_ARM64.md b/docs/BUILD_DEBIAN-BOOKWORM_ARM64.md new file mode 100644 index 00000000..50d4116e --- /dev/null +++ b/docs/BUILD_DEBIAN-BOOKWORM_ARM64.md @@ -0,0 +1,11 @@ +# Building Starship +These build instructions are based on the upstream repository via their [GitHub Actions Workflow](https://github.com/HarbourMasters/Starship/blob/main/.github/workflows/linux.yml) and [build instructions](https://github.com/HarbourMasters/Starship/blob/main/docs/BUILDING.md). + +## Build Starship +``` +git clone --recursive https://github.com/HarbourMasters/starship.git && cd starship +git checkout tags/vx.x.x +cmake -H. -Bbuild-cmake -GNinja -DUSE_OPENGLES=1 -DBUILD_CROWD_CONTROL=0 -DCMAKE_BUILD_TYPE=Release +cmake --build build-cmake --config Release --target GeneratePortOTR +cmake --build build-cmake +```