Add Makefile build/install front-end; build CI via make; dev env to 2…#15
Open
jzh18 wants to merge 1 commit into
Open
Add Makefile build/install front-end; build CI via make; dev env to 2…#15jzh18 wants to merge 1 commit into
jzh18 wants to merge 1 commit into
Conversation
…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).
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.