From 39c57a49b12860d913d2ad20411ed4b74b0fb6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 12 Feb 2020 12:05:04 +0100 Subject: [PATCH 1/2] Azure Pipelines: discard old NimBinaries cache --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1fc333cf7..a6374979c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,7 +14,7 @@ jobs: - task: CacheBeta@1 displayName: 'cache Nim binaries' inputs: - key: NimBinaries | $(Agent.OS) | $(PLATFORM) | "$(Build.SourceBranchName)" + key: NimBinaries | $(Agent.OS) | $(PLATFORM) | "$(Build.SourceBranchName)" | "v2" path: NimBinaries - task: CacheBeta@1 From 812386edd2c6724120d808dd0497ea4c85a358f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 12 Feb 2020 14:23:49 +0100 Subject: [PATCH 2/2] replace "-fno-asynchronous-unwind-tables" with "-mno-avx512vl" --- nim.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nim.cfg b/nim.cfg index efd5151a2..72db90c87 100644 --- a/nim.cfg +++ b/nim.cfg @@ -32,7 +32,8 @@ --passC:"-march=native" @if windows: # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 - --passC:"-fno-asynchronous-unwind-tables" + # ("-fno-asynchronous-unwind-tables" breaks Nim's exception raising, sometimes) + --passC:"-mno-avx512vl" @end @end