MCPcopy Create free account
hub / github.com/celer-pkg/celer / cmakeSystemName

Method cmakeSystemName

configs/toolchain.go:483–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481}
482
483func (t Toolchain) cmakeSystemName() string {
484 systemName := strings.ToLower(t.SystemName)
485 if systemName == "qnx" {
486 return "QNX"
487 }
488
489 return expr.UpperFirst(t.SystemName)
490}
491
492func (t Toolchain) SetEnvs(rootfs context.RootFS, buildsystem string, portEnvs []string) {
493 crosstoolPrefix := t.GetCrosstoolPrefix()

Callers 1

generateMethod · 0.95

Calls 1

UpperFirstFunction · 0.92

Tested by

no test coverage detected