From 071883d4b49dfe80b750713e94e3c609158899a7 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 1 Jul 2022 07:51:51 -0700 Subject: [PATCH] Only build with gcc for now Newer clang has issues with valgrind wrt DWARF5 support, and two builds may hit a race condition with the repository update anyway. --- .github/workflows/benchmark.yml | 2 +- bench/bench.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d5df6cecd..2d31cc095 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - compiler: [g++, clang++] + compiler: [g++] benchResultsRepo: - { name: "luau-lang/benchmark-data", branch: "main" } diff --git a/bench/bench.py b/bench/bench.py index b4b1eb1d2..e78e96a8a 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -104,8 +104,7 @@ def getVmOutput(cmd): file = open(os.path.join(scriptdir, "callgrind.out"), "r") lines = file.readlines() return getCallgrindOutput(lines) - except e: - print(e) + except: return "" else: with subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, cwd=scriptdir) as p: