Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Building static_h on x86_64 #1493

Closed
guest271314 opened this issue Aug 25, 2024 · 1 comment
Closed

Building static_h on x86_64 #1493

guest271314 opened this issue Aug 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@guest271314
Copy link

Hermes git revision (if applicable):
React Native version:
OS: x86_64

Steps To Reproduce

I have tried to build the static_h branch twice. Following instructions here https://medium.com/@gautam1168/compiling-typescript-to-native-code-0238d69ca582

mkdir hermes_workspace
cd hermes_workspace
git clone [email protected]:facebook/hermes.git
cd hermes
git checkout static_h
cd ..

Each occasion the system has frozen.

@guest271314 guest271314 added the bug Something isn't working label Aug 25, 2024
@tmikov
Copy link
Contributor

tmikov commented Aug 25, 2024

Hi, you haven't provided any information about your system - what OS, how much RAM, which command is freezing, etc.

Generally speaking, our build process has no power to freeze the OS, we are just running the compiler and linker in a standard way.

If you build environment is configured with too little RAM and a lot of cores, it is possible that Ninja is starting too many instances of Clang, consuming too much RAM and the system is thrashing, making it appear frozen. The solution would be to decrease the number of Ninja processes by building with ninja -j2 shermes, for example.

Unfortunately the Hermes team can't really provide support about the configuration of dev environment, but it is possible that members of the community can, so I am transferring this issue to discussions.

@facebook facebook locked and limited conversation to collaborators Aug 25, 2024
@tmikov tmikov converted this issue into discussion #1494 Aug 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants