Skip to content

Conversation

@evanlucas
Copy link
Contributor

@evanlucasevanlucas commented Jul 7, 2020

build: add support for build on arm64


deps: add openssl support for arm64

This adds the required files for supporting openssl
on arm64.

This uses the same configuration that can be found in
openssl/openssl#12369 to generate the required
files.


TODO

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. openssl Issues and PRs related to the OpenSSL dependency. labels Jul 7, 2020
@richardlaurichardlau added arm Issues and PRs related to the ARM platform. macos Issues and PRs related to the macOS platform / OSX. labels Jul 7, 2020
@evanlucasevanlucasforce-pushed the arm64 branch 2 times, most recently from 4169c57 to 3e476e2CompareJuly 7, 2020 13:18
@evanlucas
Copy link
ContributorAuthor

We found a way to get os.cpus() working properly on both ARM and intel Macs. Once libuv/libuv#2914 lands, I'll get it pulled in. With some V8 patches, I was able to get wasi working properly. The inspector still has some issues that I am digging in to. Perhaps I should back out the libuv patch and we go ahead and land this and do it more incrementally? Thoughts?

@evanlucas
Copy link
ContributorAuthor

The bump to V8 8.5 (#34337) should fix the inspector and wasi issues.

@evanlucasevanlucasforce-pushed the arm64 branch 2 times, most recently from a5e0038 to ad29cb6CompareAugust 25, 2020 13:57
@nodejs-github-bot
Copy link
Collaborator

@evanlucasevanlucas marked this pull request as ready for review August 25, 2020 14:12
@AshCripps
Copy link
Member

Also started a build on our DTKs as they are not part of the main runs yet - https://ci.nodejs.org/job/node-test-commit-osx-arm/4/

@evanlucas
Copy link
ContributorAuthor

@AshCripps thanks! The inspector and wasi tests are still going to fail until V8 8.5 is landed. I have a patch somewhere that works for those without the V8 upgrade. I'll try to find that and submit another PR after this one lands

This adds the required files for supporting openssl on arm64. This uses the same configuration that can be found in openssl/openssl#12369 to generate the required files. PR-URL: nodejs#34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
Ref: nodejs/TSC#886 Ref: nodejs#34043 PR-URL: nodejs#34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
@evanlucas
Copy link
ContributorAuthor

Landed in 4b6036a...e3b79e3

@evanlucasevanlucas merged commit e3b79e3 into nodejs:masterAug 25, 2020
richardlau pushed a commit that referenced this pull request Sep 1, 2020
This adds the required files for supporting openssl on arm64. This uses the same configuration that can be found in openssl/openssl#12369 to generate the required files. PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
richardlau pushed a commit that referenced this pull request Sep 1, 2020
Ref: nodejs/TSC#886 Ref: #34043 PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
@richardlaurichardlau mentioned this pull request Sep 2, 2020
4 tasks
addaleax pushed a commit that referenced this pull request Sep 22, 2020
This adds the required files for supporting openssl on arm64. This uses the same configuration that can be found in openssl/openssl#12369 to generate the required files. PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Ref: nodejs/TSC#886 Ref: #34043 PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
This adds the required files for supporting openssl on arm64. This uses the same configuration that can be found in openssl/openssl#12369 to generate the required files. PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Ref: nodejs/TSC#886 Ref: #34043 PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
@codebyterecodebytere mentioned this pull request Sep 28, 2020
@billinghamjbillinghamj mentioned this pull request Oct 21, 2020
5 tasks
@richikscrichiksc mentioned this pull request Nov 26, 2020
7 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

armIssues and PRs related to the ARM platform.buildIssues and PRs related to build files or the CI.macosIssues and PRs related to the macOS platform / OSX.opensslIssues and PRs related to the OpenSSL dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@evanlucas@nodejs-github-bot@AshCripps@addaleax@cjihrig@richardlau