Bug 1795063 - Stop disabling ASLR in spidermonkey builds from automation, r=sfink

Differential Revision: https://phabricator.services.mozilla.com/D159517
This commit is contained in:
Andrew Halberstadt 2022-10-18 17:58:18 +00:00
Родитель 19337561b3
Коммит 6a19102333
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -492,7 +492,9 @@ if not args.nobuild:
COMMAND_PREFIX = []
# On Linux, disable ASLR to make shell builds a bit more reproducible.
if subprocess.call("type setarch >/dev/null 2>&1", shell=True) == 0:
# Bug 1795718 - Disable in automation for now as call to setarch requires extra
# docker privileges.
if not AUTOMATION and subprocess.call("type setarch >/dev/null 2>&1", shell=True) == 0:
COMMAND_PREFIX.extend(["setarch", platform.machine(), "-R"])