Skip to content

test: rebuild nan tests with libc++ and libc++abi - #29294

Merged
jkleinsc merged 4 commits into
13-x-yfrom
13-x-y-backport-libcxx-tests
May 24, 2021
Merged

jkleinsc merged 4 commits into
13-x-yfrom
13-x-y-backport-libcxx-tests

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Manual backport of #29281

See that PR for details.

Notes: none

* test: re-enable nan test: typedarrays-test.js

Fixes #28414.

I've confirmed this fix wfm on Linux. Pushing into a PR to get CI to run
it out on Win and Mac platforms too.

* chore: clarify comment

* test: fix NAN test string alignment

* test: (wip) add ldflags, archive file for libc++

* test: (wip) add libc++ to CircleCI

* test: (wip) add llvm flags

* test: (wip) change ldflag syntax

* test: (wip) build libc++abi as static

* fix: correct ldflags

* test: add ld env

* fix: do not commit this

* test: add lld from src to circleci

* test: add lld link to ld

* chore: preserve third_party

* seems legit

* sam swears this works kinda sort of sometimes'
:

* build: add gn visibility patch

* chore: update patches

* build: check for flatten_relative_to = false

* build: upload zip files, add to release.js validation

* debug: what the hell gn

* build: add libcxx gni to lint ignore

Linting the file adjusted the licenses array, which only contains
one value, and causes the gn check to fail later

* build: also use nan-spec-runner flags on Windows

* build: add linked flags for win32 only

* build: build libc++ as source on win

* build: clean up patch, add -fPIC for IA32

* build: delete libcxx .a files from root

* build: rename libc++.zip, clean up upload per platform

* build: fix gni lint

* ci: add libcxx gen to circleci config

* build: correct libcxx-object syntax

Co-authored-by: Samuel Attard <[email protected]>

Co-authored-by: Charles Kerr <[email protected]>
Co-authored-by: clavin <[email protected]>
Co-authored-by: Samuel Attard <[email protected]>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <[email protected]>
@VerteDinde
VerteDinde requested review from a team as code owners May 23, 2021 20:01
@trop trop Bot mentioned this pull request May 23, 2021
5 tasks done
@trop trop Bot added 13-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels May 23, 2021
@jkleinsc

Copy link
Copy Markdown
Member

Merging as WOA failures are flakes unrelated to this PR.

@jkleinsc
jkleinsc merged commit cb798f2 into 13-x-y May 24, 2021
@release-clerk

release-clerk Bot commented May 24, 2021

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the 13-x-y-backport-libcxx-tests branch May 24, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

13-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants