GeezerVison is showing github.com — tools: update gyp-next to v0.6.0 · nodejs/node@baca8ee
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: tools/gyp/.github/workflows/Python_tests.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 12 | 12 | max-parallel: 15 | 13 | 13 | matrix: | 14 | 14 | os: [macos-latest, ubuntu-latest] # , windows-latest] | 15 | | - python-version: [2.7, 3.6, 3.7, 3.8, 3.9.0-rc.1] # 3.5, | | 15 | + python-version: [2.7, 3.6, 3.7, 3.8, 3.9] | 16 | 16 | steps: | 17 | 17 | - uses: actions/checkout@v2 | 18 | 18 | - name: Set up Python ${{ matrix.python-version }} | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/CHANGELOG.md +8-1Lines changed: 8 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | 6 | 6 |
| 7 | 7 | ## [Unreleased] | 8 | 8 |
| | 9 | +## [0.6.0] - 2020-10-13 | | 10 | + | | 11 | +### Added | | 12 | +- The Makefile generator will now output shared libraries directly to the product | | 13 | + directory on all platforms (previously only macOS). | | 14 | + | 9 | 15 | ## [0.5.0] - 2020-09-30 | 10 | 16 |
| 11 | 17 | ### Added | @@ -46,7 +52,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | 46 | 52 | This is the first release of this project, based on https://chromium.googlesource.com/external/gyp | 47 | 53 | with changes made over the years in Node.js and node-gyp. | 48 | 54 |
| 49 | | -[Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.5.0...HEAD | | 55 | +[Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.6.0...HEAD | | 56 | +[0.6.0]: https://github.com/nodejs/gyp-next/compare/v0.5.0...v0.6.0 | 50 | 57 | [0.5.0]: https://github.com/nodejs/gyp-next/compare/v0.4.0...v0.5.0 | 51 | 58 | [0.4.0]: https://github.com/nodejs/gyp-next/compare/v0.3.0...v0.4.0 | 52 | 59 | [0.3.0]: https://github.com/nodejs/gyp-next/compare/v0.2.1...v0.3.0 | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/generator/make.py +10-10Lines changed: 10 additions & 10 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1621,10 +1621,8 @@ def WriteTarget( | 1621 | 1621 | if any(dep.endswith(".so") or ".so." in dep for dep in deps): | 1622 | 1622 | # We want to get the literal string "$ORIGIN" | 1623 | 1623 | # into the link command, so we need lots of escaping. | 1624 | | - ldflags.append(r"-Wl,-rpath=\$$ORIGIN/lib.%s/" % self.toolset) | 1625 | | - ldflags.append( | 1626 | | - r"-Wl,-rpath-link=\$(builddir)/lib.%s/" % self.toolset | 1627 | | - ) | | 1624 | + ldflags.append(r"-Wl,-rpath=\$$ORIGIN/") | | 1625 | + ldflags.append(r"-Wl,-rpath-link=\$(builddir)/") | 1628 | 1626 | library_dirs = config.get("library_dirs", []) | 1629 | 1627 | ldflags += [("-L%s" % library_dir) for library_dir in library_dirs] | 1630 | 1628 | self.WriteList(ldflags, "LDFLAGS_%s" % configname) | @@ -2172,14 +2170,16 @@ def ExpandInputRoot(self, template, expansion, dirname): | 2172 | 2170 |
| 2173 | 2171 | def _InstallableTargetInstallPath(self): | 2174 | 2172 | """Returns the location of the final output for an installable target.""" | | 2173 | + # Functionality removed for all platforms to match Xcode and hoist | | 2174 | + # shared libraries into PRODUCT_DIR for users: | 2175 | 2175 | # Xcode puts shared_library results into PRODUCT_DIR, and some gyp files | 2176 | 2176 | # rely on this. Emulate this behavior for mac. | 2177 | | - if self.type == "shared_library" and ( | 2178 | | - self.flavor != "mac" or self.toolset != "target" | 2179 | | - ): | 2180 | | - # Install all shared libs into a common directory (per toolset) for | 2181 | | - # convenient access with LD_LIBRARY_PATH. | 2182 | | - return "$(builddir)/lib.%s/%s" % (self.toolset, self.alias) | | 2177 | + # if self.type == "shared_library" and ( | | 2178 | + # self.flavor != "mac" or self.toolset != "target" | | 2179 | + # ): | | 2180 | + # # Install all shared libs into a common directory (per toolset) for | | 2181 | + # # convenient access with LD_LIBRARY_PATH. | | 2182 | + # return "$(builddir)/lib.%s/%s" % (self.toolset, self.alias) | 2183 | 2183 | return "$(builddir)/" + self.alias | 2184 | 2184 |
| 2185 | 2185 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/setup.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 15 | 15 |
| 16 | 16 | setup( | 17 | 17 | name="gyp-next", | 18 | | - version="0.5.0", | | 18 | + version="0.6.0", | 19 | 19 | description="A fork of the GYP build system for use in the Node.js projects", | 20 | 20 | long_description=long_description, | 21 | 21 | long_description_content_type="text/markdown", | |
|