Skip to content

build: build the cmd/gigapipe package instead of main.go alone - #1126

Merged
rita7lopes merged 1 commit into
masterfrom
build/cmd-package
Nov 24, 2026
Merged

rita7lopes merged 1 commit into
masterfrom
build/cmd-package

Conversation

@rita7lopes

Copy link
Copy Markdown
Contributor

Builds use ./cmd/gigapipe instead of cmd/gigapipe/main.go everywhere: Dockerfile, Makefile, build_release.yml and integration.yml. Building main.go alone stops compiling if a second file is added to that package.

The program is the same: both forms give identical symbols, with and without -tags view. Only the build metadata changes, which now records the module and commit.

Building main.go alone stops compiling if a second file is added to the
package. Today both build the same program.
@rita7lopes
rita7lopes requested a review from 44YHC November 24, 2026 11:55
@rita7lopes
rita7lopes merged commit aba00c3 into master Nov 24, 2026
10 checks passed
@rita7lopes
rita7lopes deleted the build/cmd-package branch November 24, 2026 12:00
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