Skip to content

Commit c15a776

Browse files
authored
Merge branch 'master' into fetch-happen
2 parents b8ad9c9 + 66c0f04 commit c15a776

27 files changed

+306
-287
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
max-parallel: 15
1010
matrix:
1111
node: [10.x, 12.x, 14.x]
12-
python: [3.6, 3.7, 3.8]
12+
python: [3.6, 3.8, 3.9]
1313
os: [macos-latest, ubuntu-latest, windows-latest]
1414
runs-on: ${{ matrix.os }}
1515
steps:

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
v7.1.2 2020-10-17
2+
=================
3+
4+
* [[`096e3aded5`](https://github.com/nodejs/node-gyp/commit/096e3aded5)] - **gyp**: update gyp to 0.6.2 (Myles Borins) [#2241](https://github.com/nodejs/node-gyp/pull/2241)
5+
* [[`54f97cd243`](https://github.com/nodejs/node-gyp/commit/54f97cd243)] - **doc**: add cmd to reset `xcode-select` to initial state (Valera Rozuvan) [#2235](https://github.com/nodejs/node-gyp/pull/2235)
6+
7+
v7.1.1 2020-10-15
8+
=================
9+
10+
This release restores the location of shared library builds to the pre-v7
11+
location. In v7.0.0 until this release, shared library outputs were placed
12+
in a lib.target subdirectory inside the build/{Release,Debug} directory for
13+
builds using `make` (Linux, etc.). This is inconsistent with macOS (Xcode)
14+
behavior and previous node-gyp behavior so has been reverted.
15+
We consider this a bug-fix rather than semver-major change.
16+
17+
* [[`18bf2d1d38`](https://github.com/nodejs/node-gyp/commit/18bf2d1d38)] - **deps**: update deps to match npm@7 (Rod Vagg) [#2240](https://github.com/nodejs/node-gyp/pull/2240)
18+
* [[`ee6a837cb7`](https://github.com/nodejs/node-gyp/commit/ee6a837cb7)] - **gyp**: update gyp to 0.6.1 (Rod Vagg) [#2238](https://github.com/nodejs/node-gyp/pull/2238)
19+
* [[`3e7f8ccafc`](https://github.com/nodejs/node-gyp/commit/3e7f8ccafc)] - **lib**: better log message when ps fails (Martin Midtgaard) [#2229](https://github.com/nodejs/node-gyp/pull/2229)
20+
* [[`7fb314339f`](https://github.com/nodejs/node-gyp/commit/7fb314339f)] - **test**: GitHub Actions: Test on Python 3.9 (Christian Clauss) [#2230](https://github.com/nodejs/node-gyp/pull/2230)
21+
* [[`754996b9ec`](https://github.com/nodejs/node-gyp/commit/754996b9ec)] - **doc**: replace status badges with new Actions badge (Rod Vagg) [#2218](https://github.com/nodejs/node-gyp/pull/2218)
22+
* [[`2317dc400c`](https://github.com/nodejs/node-gyp/commit/2317dc400c)] - **ci**: switch to GitHub Actions (Shelley Vohr) [#2210](https://github.com/nodejs/node-gyp/pull/2210)
23+
* [[`2cca9b74f7`](https://github.com/nodejs/node-gyp/commit/2cca9b74f7)] - **doc**: drop the --production flag for installing windows-build-tools (DeeDeeG) [#2206](https://github.com/nodejs/node-gyp/pull/2206)
24+
125
v7.1.0 2020-08-12
226
=================
327

gyp/.flake8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[flake8]
2-
max-complexity = 10
2+
max-complexity = 101
33
max-line-length = 88
4-
extend-ignore = E203,C901,E501
4+
extend-ignore = E203 # whitespace before ':' to agree with psf/black

gyp/.github/workflows/Python_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
max-parallel: 15
1313
matrix:
1414
os: [macos-latest, ubuntu-latest] # , windows-latest]
15-
python-version: [2.7, 3.6, 3.7, 3.8] # 3.5,
15+
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up Python ${{ matrix.python-version }}

gyp/.github/workflows/node-gyp.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: node-gyp integration
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [macos-latest, ubuntu-latest, windows-latest]
11+
runs-on: ${{ matrix.os }}
12+
steps:
13+
- name: Clone gyp-next
14+
uses: actions/checkout@v2
15+
with:
16+
path: gyp-next
17+
- name: Clone nodejs/node-gyp
18+
uses: actions/checkout@v2
19+
with:
20+
repository: nodejs/node-gyp
21+
path: node-gyp
22+
- uses: actions/setup-node@v1
23+
with:
24+
node-version: 14.x
25+
- uses: actions/setup-python@v2
26+
with:
27+
python-version: 3.9
28+
- name: Install dependencies
29+
run: |
30+
cd node-gyp
31+
npm install --no-progress
32+
- name: Replace gyp in node-gyp
33+
shell: bash
34+
run: |
35+
rm -rf node-gyp/gyp
36+
cp -r gyp-next node-gyp/gyp
37+
- name: Run tests
38+
run: |
39+
cd node-gyp
40+
npm test

gyp/.github/workflows/nodejs-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build-windows:
77
runs-on: windows-latest
88
steps:
9-
- name: Clone node-gyp
9+
- name: Clone gyp-next
1010
uses: actions/checkout@v2
1111
with:
1212
path: gyp-next
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
6+
name: release-please
7+
jobs:
8+
release-please:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: GoogleCloudPlatform/[email protected]
12+
with:
13+
token: ${{ secrets.GITHUB_TOKEN }}
14+
release-type: python
15+
package-name: gyp-next
16+
bump-minor-pre-major: Yes

gyp/CHANGELOG.md

Lines changed: 55 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,70 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file.
3+
### [0.6.2](https://www.github.com/nodejs/gyp-next/compare/v0.6.1...v0.6.2) (2020-10-16)
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
65

7-
## [Unreleased]
6+
### Bug Fixes
87

9-
## [0.4.0] - 2020-07-14
8+
* do not rewrite absolute paths to avoid long paths ([#74](https://www.github.com/nodejs/gyp-next/issues/74)) ([c2ccc1a](https://www.github.com/nodejs/gyp-next/commit/c2ccc1a81f7f94433a94f4d01a2e820db4c4331a))
9+
* only include MARMASM when toolset is target ([5a2794a](https://www.github.com/nodejs/gyp-next/commit/5a2794aefb58f0c00404ff042b61740bc8b8d5cd))
1010

11-
### Added
12-
- Added support for passing arbitrary architectures to Xcode builds, enables `arm64` builds.
11+
### [0.6.1](https://github.com/nodejs/gyp-next/compare/v0.6.0...v0.6.1) (2020-10-14)
1312

14-
### Fixed
15-
- Fixed a bug on Solaris where copying archives failed.
1613

17-
## [0.3.0] - 2020-06-06
14+
### Bug Fixes
1815

19-
### Added
20-
- Added support for MSVC cross-compilation. This allows compilation on x64 for
21-
a Windows ARM target.
16+
* Correctly rename object files for absolute paths in MSVS generator.
2217

23-
### Fixed
24-
- Fixed XCode CLT version detection on macOS Catalina.
18+
## [0.6.0](https://github.com/nodejs/gyp-next/compare/v0.5.0...v0.6.0) (2020-10-13)
2519

26-
## [0.2.1] - 2020-05-05
2720

28-
### Fixed
29-
- Relicensed to Node.js contributors.
30-
- Fixed Windows bug introduced in v0.2.0.
21+
### Features
3122

32-
## [0.2.0] - 2020-04-06
23+
* The Makefile generator will now output shared libraries directly to the product directory on all platforms (previously only macOS).
3324

34-
This is the first release of this project, based on https://chromium.googlesource.com/external/gyp
35-
with changes made over the years in Node.js and node-gyp.
25+
## [0.5.0](https://github.com/nodejs/gyp-next/compare/v0.4.0...v0.5.0) (2020-09-30)
3626

37-
[Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.4.0...HEAD
38-
[0.4.0]: https://github.com/nodejs/gyp-next/compare/v0.3.0...v0.4.0
39-
[0.3.0]: https://github.com/nodejs/gyp-next/compare/v0.2.1...v0.3.0
40-
[0.2.1]: https://github.com/nodejs/gyp-next/compare/v0.2.0...v0.2.1
41-
[0.2.0]: https://github.com/nodejs/gyp-next/releases/tag/v0.2.0
27+
28+
### Features
29+
30+
* Extended compile_commands_json generator to consider more file extensions than just `c` and `cc`. `cpp` and `cxx` are now supported.
31+
* Source files with duplicate basenames are now supported.
32+
33+
### Removed
34+
35+
* The `--no-duplicate-basename-check` option was removed.
36+
* The `msvs_enable_marmasm` configuration option was removed in favor of auto-inclusion of the "marmasm" sections for Windows on ARM.
37+
38+
## [0.4.0](https://github.com/nodejs/gyp-next/compare/v0.3.0...v0.4.0) (2020-07-14)
39+
40+
41+
### Features
42+
43+
* Added support for passing arbitrary architectures to Xcode builds, enables `arm64` builds.
44+
45+
### Bug Fixes
46+
47+
* Fixed a bug on Solaris where copying archives failed.
48+
49+
## [0.3.0](https://github.com/nodejs/gyp-next/compare/v0.2.1...v0.3.0) (2020-06-06)
50+
51+
52+
### Features
53+
54+
* Added support for MSVC cross-compilation. This allows compilation on x64 for a Windows ARM target.
55+
56+
### Bug Fixes
57+
58+
* Fixed XCode CLT version detection on macOS Catalina.
59+
60+
### [0.2.1](https://github.com/nodejs/gyp-next/compare/v0.2.0...v0.2.1) (2020-05-05)
61+
62+
63+
### Bug Fixes
64+
65+
* Relicensed to Node.js contributors.
66+
* Fixed Windows bug introduced in v0.2.0.
67+
68+
## [0.2.0](https://github.com/nodejs/gyp-next/releases/tag/v0.2.0) (2020-04-06)
69+
70+
This is the first release of this project, based on https://chromium.googlesource.com/external/gyp with changes made over the years in Node.js and node-gyp.

gyp/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ GYP can Generate Your Projects.
22
===================================
33

44
Documents are available at [gyp.gsrc.io](https://gyp.gsrc.io), or you can check out ```md-pages``` branch to read those documents offline.
5+
6+
__gyp-next__ is [released](https://github.com/nodejs/gyp-next/releases) to the [__Python Packaging Index__](https://pypi.org/project/gyp-next) (PyPI) and can be installed with the command:
7+
* `python3 -m pip install gyp-next`

gyp/pylib/gyp/MSVSSettings_test.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ def testConvertToMSBuildSettings_warnings(self):
678678
"MSBuild, index value (21) not in expected range [0, 3)",
679679
"Warning: while converting VCCLCompilerTool/UsePrecompiledHeader to "
680680
"MSBuild, index value (13) not in expected range [0, 3)",
681-
"Warning: while converting VCCLCompilerTool/GeneratePreprocessedFile to "
681+
"Warning: while converting "
682+
"VCCLCompilerTool/GeneratePreprocessedFile to "
682683
"MSBuild, value must be one of [0, 1, 2]; got 14",
683684
"Warning: while converting VCLinkerTool/Driver to "
684685
"MSBuild, index value (10) not in expected range [0, 4)",
@@ -1348,7 +1349,8 @@ def testConvertToMSBuildSettings_actual(self):
13481349
"EmbedManifest": "false",
13491350
"GenerateCatalogFiles": "true",
13501351
"InputResourceManifests": "asfsfdafs",
1351-
"ManifestResourceFile": "$(IntDir)\\$(TargetFileName).embed.manifest.resfdsf",
1352+
"ManifestResourceFile":
1353+
"$(IntDir)\\$(TargetFileName).embed.manifest.resfdsf",
13521354
"OutputManifestFile": "$(TargetPath).manifestdfs",
13531355
"RegistrarScriptFile": "sdfsfd",
13541356
"ReplacementsFile": "sdffsd",
@@ -1532,7 +1534,8 @@ def testConvertToMSBuildSettings_actual(self):
15321534
"LinkIncremental": "",
15331535
},
15341536
"ManifestResourceCompile": {
1535-
"ResourceOutputFileName": "$(IntDir)$(TargetFileName).embed.manifest.resfdsf"
1537+
"ResourceOutputFileName":
1538+
"$(IntDir)$(TargetFileName).embed.manifest.resfdsf"
15361539
},
15371540
}
15381541
self.maxDiff = 9999 # on failure display a long diff

0 commit comments

Comments
 (0)