Commit 891dc085 authored by Dmytro Kresan's avatar Dmytro Kresan
Browse files

[amdfftw] znver1 support.

parent aa540b91
......@@ -115,9 +115,11 @@ class Amdfftw(FftwBase):
# use target variable to set appropriate -march option in AMD_ARCH.
arch = spec.architecture
if spec.target == 'x86_64':
var1='x86-64'
var1 = 'x86-64'
elif spec.target == 'zen':
var1 = 'znver1'
else:
var1=spec.target
var1 = spec.target
options.append(
# "AMD_ARCH={0}".format(
# arch.target.optimization_flags(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment