Skip to content

Add Makefile build/install front-end; build CI via make; dev env to 2…#15

Open
jzh18 wants to merge 1 commit into
mainfrom
chore/makefile-build-install
Open

Add Makefile build/install front-end; build CI via make; dev env to 2…#15
jzh18 wants to merge 1 commit into
mainfrom
chore/makefile-build-install

Conversation

@jzh18

@jzh18 jzh18 commented Jun 17, 2026

Copy link
Copy Markdown
Member

No description provided.

…2.04

Add a top-level Makefile as the conventional `make` / `make install` entry
point for building and installing RTrace. It delegates to the existing
packaging/build-native.sh + build-bundle.sh (kept as the source of truth) and
mirrors what the release workflow does:

- `make` builds the edition bundle into ./staging/rtrace
- `make install` installs the relocatable bundle to ~/.local/share/rtrace and
  symlinks the launcher into ~/.local/bin
- `make tarball` packages rtrace-<edition>-linux-x64.tar.gz(+.sha256)
- EDITION / PREFIX / INSTALL_PREFIX / PYTHON_URL are overridable variables

The pinned bundled-Python URL now lives in the Makefile (single source of
truth). build-bundles.yml's build job is rewired to call `make tarball`,
collapsing the build/assemble/package steps into one and dropping the
PYTHON_BUILD_STANDALONE_URL workflow env. README / docs/packaging.md lead with
the make targets.

Dev infra moved to match the CI base image (build-bundles.yml uses ubuntu:22.04):

- _docker/Dockerfile: FROM ubuntu:24.04 -> 22.04. On 22.04 dotnet-sdk-6.0 is in
  the Ubuntu archive, so drop the packages.microsoft.com repo dance and just
  apt-get install it. 22.04 also has no default `ubuntu` user (24.04 does), so
  create one from the host UID/GID instead of only asserting it exists -- this
  also makes the image build for any host UID/GID, not just 1000.
- dev.sh: CUDA local-installer URLs ubuntu2404 -> ubuntu2204.

.gitignore: ignore the make build outputs (staging/, the tarballs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant