Commit 9365fff7b50 for nodejs
commit 9365fff7b5087ee72919be3ef0133e5f4f163a29
Author: Shelley Vohr <shelley.vohr@gmail.com>
Date: Wed Nov 4 13:04:54 2026 -0800
build: sort the ICU source lists
configure.py lists the ICU source files in the order os.walk() returns
them, which depends on the file system. That order ends up in
icu_config.gypi and in the generated build files, so it differs between
machines.
Signed-off-by: Shelley Vohr <shelley.vohr@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/67206
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
diff --git a/configure.py b/configure.py
index 791f8da0ea0..d9d75443e7c 100755
--- a/configure.py
+++ b/configure.py
@@ -2503,7 +2503,7 @@ def glob_to_var(dir_base, dir_sub, patch_dir):
info(f'Using floating patch "{patchfile}" from "{dir_base}"')
file_list.append(srcfile)
break
- return file_list
+ return sorted(file_list)
def configure_intl(o):
def icu_download(path):