| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
| 6 | 6 | ||
| 7 | 7 | ## [Unreleased] | |
| 8 | 8 | ||
| 9 | + ## [0.4.0] - 2020-07-14 | ||
| 10 | + | ||
| 11 | + ### Added | ||
| 12 | + - Added support for passing arbitrary architectures to Xcode builds, enables `arm64` builds. | ||
| 13 | + | ||
| 14 | + ### Fixed | ||
| 15 | + - Fixed a bug on Solaris where copying archives failed. | ||
| 16 | + | ||
| 9 | 17 | ## [0.3.0] - 2020-06-06 | |
| 10 | 18 | ||
| 11 | 19 | ### Added | |
@@ -26,7 +34,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
| 26 | 34 | This is the first release of this project, based on https://chromium.googlesource.com/external/gyp | |
| 27 | 35 | with changes made over the years in Node.js and node-gyp. | |
| 28 | 36 | ||
| 29 | - [Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.3.0...HEAD | ||
| 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 | ||
| 30 | 39 | [0.3.0]: https://github.com/nodejs/gyp-next/compare/v0.2.1...v0.3.0 | |
| 31 | 40 | [0.2.1]: https://github.com/nodejs/gyp-next/compare/v0.2.0...v0.2.1 | |
| 32 | 41 | [0.2.0]: https://github.com/nodejs/gyp-next/releases/tag/v0.2.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1342,7 +1342,7 @@ def WriteSources( | |||
| 1342 | 1342 | ) | |
| 1343 | 1343 | ||
| 1344 | 1344 | if self.flavor == "mac": | |
| 1345 | - cflags = self.xcode_settings.GetCflags(configname) | ||
| 1345 | + cflags = self.xcode_settings.GetCflags(configname, arch=config.get('xcode_configuration_platform')) | ||
| 1346 | 1346 | cflags_c = self.xcode_settings.GetCflagsC(configname) | |
| 1347 | 1347 | cflags_cc = self.xcode_settings.GetCflagsCC(configname) | |
| 1348 | 1348 | cflags_objc = self.xcode_settings.GetCflagsObjC(configname) | |
@@ -1637,6 +1637,7 @@ def WriteTarget( | |||
| 1637 | 1637 | configname, | |
| 1638 | 1638 | generator_default_variables["PRODUCT_DIR"], | |
| 1639 | 1639 | lambda p: Sourceify(self.Absolutify(p)), | |
| 1640 | + arch=config.get('xcode_configuration_platform') | ||
| 1640 | 1641 | ) | |
| 1641 | 1642 | ||
| 1642 | 1643 | # TARGET_POSTBUILDS_$(BUILDTYPE) is added to postbuilds later on. | |
@@ -2362,7 +2363,14 @@ def CalculateMakefilePath(build_file, base_name): | |||
| 2362 | 2363 | } | |
| 2363 | 2364 | ) | |
| 2364 | 2365 | elif flavor == "solaris": | |
| 2365 | - header_params.update({"flock": "./gyp-flock-tool flock", "flock_index": 2}) | ||
| 2366 | + copy_archive_arguments = "-pPRf@" | ||
| 2367 | + header_params.update( | ||
| 2368 | + { | ||
| 2369 | + "copy_archive_args": copy_archive_arguments, | ||
| 2370 | + "flock": "./gyp-flock-tool flock", | ||
| 2371 | + "flock_index": 2 | ||
| 2372 | + } | ||
| 2373 | + ) | ||
| 2366 | 2374 | elif flavor == "freebsd": | |
| 2367 | 2375 | # Note: OpenBSD has sysutils/flock. lockf seems to be FreeBSD specific. | |
| 2368 | 2376 | header_params.update({"flock": "lockf"}) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,7 +78,7 @@ def QuoteShellArgument(arg, flavor): | |||
| 78 | 78 | """Quote a string such that it will be interpreted as a single argument | |
| 79 | 79 | by the shell.""" | |
| 80 | 80 | # Rather than attempting to enumerate the bad shell characters, just | |
| 81 | - # whitelist common OK ones and quote anything else. | ||
| 81 | + # allow common OK ones and quote anything else. | ||
| 82 | 82 | if re.match(r"^[a-zA-Z0-9_=.\\/-]+$", arg): | |
| 83 | 83 | return arg # No quoting necessary. | |
| 84 | 84 | if flavor == "win": | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | 16 | setup( | |
| 17 | 17 | name="gyp-next", | |
| 18 | - version="0.3.0", | ||
| 18 | + version="0.4.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", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments