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 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