Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Prevent use of macro __warn_unused_result__ for M1 Macs, fixing Issue… #344

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

cdmatters
Copy link
Contributor

#340.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 2, 2022
@cdmatters cdmatters requested a review from samvelyan November 2, 2022 12:29
Copy link
Contributor

@samvelyan samvelyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good!

@heiner
Copy link
Contributor

heiner commented Nov 2, 2022

Alternative would be to cherry-pick this: NetHack/NetHack@1302814

@cdmatters
Copy link
Contributor Author

Think cherry-pick is the better way to do this.

@samvelyan
Copy link
Contributor

I can confirm that now the following successfully installs nle on my M1 Chip Mac

pip install git+https://github.com/facebookresearch/nle.git@eric/M1-URWARN

@cdmatters
Copy link
Contributor Author

I found the cherry-pick didnt seem to work on Mika's macbook, so reverted the change. Will investigate on my M1, but might just merge this later.

@heiner
Copy link
Contributor

heiner commented Nov 3, 2022

If so, this is a good opportunity to have your code in upstream NH :)

@cdmatters cdmatters merged commit ac4ab6b into main Nov 22, 2022
@cdmatters cdmatters deleted the eric/M1-URWARN branch November 22, 2022 16:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants