Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gopsutil #234

Merged
merged 1 commit into from
Sep 29, 2022
Merged

Update gopsutil #234

merged 1 commit into from
Sep 29, 2022

Conversation

viraptor
Copy link

@viraptor viraptor commented Sep 1, 2022

This is required for clean darwin compilation. Older versions fail with:

../go/pkg/mod/github.com/shirou/gopsutil@v3.20.12+incompatible/cpu/cpu_darwin_cgo.go:13:5: error: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
1 error generated.

This is required for clean darwin compilation. Older versions fail with:

```
../go/pkg/mod/github.com/shirou/gopsutil@v3.20.12+incompatible/cpu/cpu_darwin_cgo.go:13:5: error: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
1 error generated.
```
@xxxserxxx
Copy link
Owner

Thanks for the PR.

@xxxserxxx xxxserxxx merged commit 8f2739c into xxxserxxx:master Sep 29, 2022
@viraptor viraptor deleted the update-gopsutil branch September 29, 2022 22:37
@dotlambda
Copy link

@xxxserxxx This PR was not properly merged. The merge commit contains no changes.

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.

3 participants