Skip to content

Build cleanly as a git-submodule project reference - #3

Open
Jossec101 wants to merge 1 commit into
spark/native-from-sourcefrom
spark/submodule-build
Open

Jossec101 wants to merge 1 commit into
spark/native-from-sourcefrom
spark/submodule-build

Conversation

@Jossec101

@Jossec101 Jossec101 commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator
  • Lets other projects use NSpark as a git submodule without build problems.
  • Warnings fail the build only inside this repo.
  • Builds without git history (for example inside Docker).
  • Finds the native library when NSpark is used as a project reference.

Stack created with GitHub Stacks CLI • Give Feedback 💬

- Warnings-as-errors only when the build starts inside this repository
  (NSparkStrictBuild), so a newer consumer SDK can't break consumer builds.
- Skip MinVer when there is no git metadata (Docker contexts without .git).
- NativeLibraryResolver: load libspark_frost from runtimes/{rid}/native when
  there is no deps.json entry (project references), else default probing.
- A RID-specific build or publish copies only its own native library.
@Jossec101
Jossec101 added this pull request to stack #5 October 9, 2026 23:21
@Jossec101
Jossec101 marked this pull request as ready for review October 10, 2026 10:38
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.

2 participants