Skip to content

Commit

Permalink
Update to Node 20.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Jan 6, 2025
1 parent 9059b2c commit 1f9b1a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ fs.writeFileSync(path.join(__dirname, 'config.gypi'), JSON.stringify(config, nul
await $`${python} node/tools/gyp/gyp_main.py yode.gyp --no-parallel -f ninja -Dbuild_type=${buildType} -Iconfig.gypi -Icommon.gypi --depth .`

// Build.
process.env.PATH = `${path.join('deps', 'ninja')}${path.delimiter}${process.env.PATH}`
const ninja = process.platform == 'win32' ? 'deps/ninja/ninja.exe'
: 'deps/ninja/ninja'
const jobs = argv.j ?? os.cpus().length
await $`ninja -j ${jobs} -C out/${buildType} yode`
await $`${ninja} -j ${jobs} -C out/${buildType} yode`

if (process.platform == 'linux')
await $`strip out/${buildType}/yode`
Expand Down
7 changes: 4 additions & 3 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'node_with_ltcg': 'false',
'node_report': 'false',
'node_use_node_code_cache': 'false',
'node_write_snapshot_as_array_literals': 'false',
'uv_library': 'static_library',
'uv_parent_path': 'node/deps/uv',
'uv_use_dtrace': 'false',
Expand All @@ -73,15 +74,15 @@
'v8_random_seed': 0,
'v8_trace_maps': 0,
'v8_use_siphash': 1,
'icu_data_file': 'icudt73l.dat',
'icu_data_in': '../../deps/icu-tmp/icudt73l.dat',
'icu_data_file': 'icudt75l.dat',
'icu_data_in': '../../deps/icu-tmp/icudt75l.dat',
'icu_default_data': '',
'icu_endianness': 'l',
'icu_gyp_path': 'node/tools/icu/icu-generic.gyp',
'icu_locales': 'en,root',
'icu_path': '../../deps/icu-small',
'icu_small': 'true',
'icu_ver_major': '73',
'icu_ver_major': '75',
},
'target_defaults': {
'includes': [
Expand Down
2 changes: 1 addition & 1 deletion node
Submodule node updated 8886 files

0 comments on commit 1f9b1a6

Please sign in to comment.