electron/script
Keeley Hammond d03325541f
test: rebuild nan tests with libc++ and libc++abi (#29281)
* 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 <sam@electronjs.org>

Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sam@electronjs.org>
2021-05-22 11:48:38 -07:00
..
codesign build: fix installing of code-signing identity on macOS (#27221) 2021-01-11 10:49:15 +09:00
lib build: remove dead python methods and helper (#28884) 2021-04-28 00:39:30 -07:00
release test: rebuild nan tests with libc++ and libc++abi (#29281) 2021-05-22 11:48:38 -07:00
zip_manifests build: disable pseudolocales in Electron (#28766) 2021-04-21 17:55:22 -07:00
add-debug-link.py fix: use system installed objcopy to copy debug symbols (#23835) 2020-05-29 08:37:02 -04:00
apply_all_patches.py chore: remove unused imports in our python scripts (#25406) 2020-09-14 10:25:49 +09:00
check-patch-diff.ts build: convert some scripts to TS (#24891) 2020-08-07 13:48:46 -07:00
check-relative-doc-links.py chore: improve docs relative link linting (#26359) 2020-11-18 11:55:11 -08:00
check-symlinks.js build: remove dead symlink from MAS build (#24158) 2020-06-16 14:19:57 -07:00
copy-debug-symbols.py fix: use system installed objcopy to copy debug symbols (#23835) 2020-05-29 08:37:02 -04:00
dbus_mock.py chore: remove unused imports in our python scripts (#25406) 2020-09-14 10:25:49 +09:00
doc-only-change.js build: fix docs only change script to pull all files not just 30 (#28737) 2021-04-19 20:00:28 -04:00
download-circleci-artifacts.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
export_all_patches.py build: Python3 compat and Win line-endings fixes (#26091) 2020-10-30 19:05:38 +09:00
gen-filenames.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
gen-hunspell-filenames.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
gen-libc++-filenames.js test: rebuild nan tests with libc++ and libc++abi (#29281) 2021-05-22 11:48:38 -07:00
generate-deps-hash.js build: remove sccache (#26701) 2020-11-28 21:28:57 -08:00
generate-version-json.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
generate-zip-manifest.py ci: add check for dist zip file changes (#18446) 2019-05-29 09:40:02 -07:00
git-export-patches chore: remove unused imports in our python scripts (#25406) 2020-09-14 10:25:49 +09:00
git-import-patches chore: remove unused imports in our python scripts (#25406) 2020-09-14 10:25:49 +09:00
gn-asar.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
gn-check.js chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
lint.js build: provide line numbers of bad patch lines when linting (#28666) 2021-04-15 10:43:35 -07:00
nan-spec-runner.js test: rebuild nan tests with libc++ and libc++abi (#29281) 2021-05-22 11:48:38 -07:00
native-test-targets.json chore: enable native unittesting (#20293) 2019-10-03 22:21:30 +02:00
native-tests.py ci: run more Chromium unit tests (#15363) 2018-10-25 14:28:50 -04:00
node-disabled-tests.json chore: bump node to v14.17.0 (master) (#29151) 2021-05-19 15:48:46 +02:00
node-spec-runner.js chore: remove unused code from our js scripts (#25419) 2020-09-14 10:22:13 -07:00
patches-mtime-cache.py build: don't generate patches mtime cache if it already exists (#26468) 2020-11-18 09:50:31 +09:00
push-patch.js build: auto-push patch file changes (#26235) 2020-10-29 14:21:23 -04:00
run-clang-format.py fix: output Unix-style paths for git diffs on Win (#25763) 2020-10-05 10:40:40 -04:00
run-clang-tidy.ts build: support for running clang-tidy (#26150) 2020-11-05 10:24:17 +09:00
run-gn-format.py fix: use gn/clang-format from src (#19145) 2019-07-09 17:40:26 +09:00
run-if-exists.js build: remove the tools folder (#24880) 2020-08-07 14:13:09 -07:00
setup-win-for-dev.bat ci: use call instead of cmd /C (#23985) 2020-06-11 10:05:03 -04:00
spec-runner.js build: remove node-gyp arm64 tricks (#27916) 2021-03-01 20:46:19 +09:00
start-goma.ps1 Bump v12.0.0-nightly.20200827 2020-08-27 07:31:51 -07:00
start.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
strip-binaries.py chore: fix linter errors (#25996) 2020-10-19 20:55:27 +09:00
sysroots.json chore: bump chromium to 92.0.4475.0 (master) (#28462) 2021-04-15 10:44:35 -07:00
verify-chromedriver.py chore: fix linter errors (#25996) 2020-10-19 20:55:27 +09:00
verify-ffmpeg.py ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
verify-mksnapshot.py ci: enable arm64 macOS tests (#24832) 2021-01-21 18:36:52 -05:00
yarn.js build: update npx.py to support npx@7 (#26662) 2020-11-23 21:26:54 -08:00
zip-symbols.py build: import execute method in symbols zip script 2021-04-26 13:00:50 -07:00