Skip to content

CGO_ENABLED should be a number#6

Open
cjh1 wants to merge 1 commit intoOpenCHAMI:mainfrom
cjh1:cgo
Open

CGO_ENABLED should be a number#6
cjh1 wants to merge 1 commit intoOpenCHAMI:mainfrom
cjh1:cgo

Conversation

@cjh1
Copy link
Copy Markdown
Member

@cjh1 cjh1 commented Jan 21, 2026

CGO_ENABLED should be 0 or 1, use number to constrain values.

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Description

The PCS CI is using this workflow. It has cgo_enabled: true, which mean CGO is disabled as CGO_ENABLED should 0 or 1, "true" gets treated as disabled!

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

For more info, see Contributing Guidelines.

CGO_ENABLED should be 0 or 1, use number to constrain values.

Signed-off-by: Chris Harris <cjh@lbl.gov>
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