1
0
Fork 0

fix environment assignment and update check- definitions

This commit is contained in:
Mikhail Goncharov 2021-10-04 16:36:02 +02:00
parent 7907aeb6a0
commit fea73f5174
3 changed files with 5 additions and 6 deletions

View file

@ -61,9 +61,9 @@ allprojects:
lld: ["check-lld"]
lldb: ["check-all"] # FIXME: `check-lldb` may not include every lldb tests?
mlir: ["check-mlir"]
openmp: ["check-all"] # There does not seem to be a more specific target.
openmp: ["check-openmp"]
parallel-libs: ["check-all"]
polly: ["check-polly-tests"]
polly: ["check-polly-tests", "check-polly"]
pstl: ["check-all"] # There does not seem to be a more specific target.
llvm: ["check-llvm"]
@ -78,7 +78,6 @@ excludedProjects:
- openmp # TODO: check: kuhnel has trouble with the Perl installation
- cross-project-tests # test failing
- polly # test failing
- check-libc
- check-cxxabi
# test stuck, needs to be killed manually: instrprof-multiprocess.test
- compiler-rt

View file

@ -23,7 +23,7 @@ from phabtalk.phabtalk import PhabTalk
if __name__ == '__main__':
diff_id = os.getenv("ph_buildable_diff")
revision_id = os.getenv("ph_buildable_revision")
revision_id = os.getenv("ph_buildable_revision", '')
log_level = os.getenv('ph_log_level', 'INFO')
base_commit = os.getenv('ph_base_commit', 'auto')
run_build = os.getenv('ph_skip_build') is None

View file

@ -50,12 +50,12 @@ if __name__ == '__main__':
steps.extend(generic_windows(os.getenv('ph_projects', ';'.join(windows_projects))))
steps.extend(bazel([], force=True))
if os.getenv('ph_skip_generated') is None:
env = os.environ.copy()
gen_env = os.environ.copy()
# BUILDKITE_COMMIT might be an alias, e.g. "HEAD". Resolve it to make the build hermetic.
if ('BUILDKITE_COMMIT' not in env) or (env['BUILDKITE_COMMIT'] == "HEAD"):
env['BUILDKITE_COMMIT'] = repo.head.commit.hexsha
for gen in steps_generators:
steps.extend(from_shell_output(gen, env=env))
steps.extend(from_shell_output(gen, env=gen_env))
notify = []
for e in notify_emails: