Skip to content

Commit 1c5c19b

Browse files
committed
Fix missing openmp flags
1 parent e30d8b6 commit 1c5c19b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if cpp.has_argument('-march=icelake-client')
3434
'x86simdsort-icl.cpp',
3535
),
3636
include_directories : [src],
37-
cpp_args : ['-march=icelake-client'],
37+
cpp_args : ['-march=icelake-client', openmpflags],
3838
gnu_symbol_visibility : 'inlineshidden',
3939
)
4040
endif
@@ -45,7 +45,7 @@ if cancompilefp16
4545
'x86simdsort-spr.cpp',
4646
),
4747
include_directories : [src],
48-
cpp_args : ['-march=sapphirerapids'],
48+
cpp_args : ['-march=sapphirerapids', openmpflags],
4949
gnu_symbol_visibility : 'inlineshidden',
5050
)
5151
endif

0 commit comments

Comments
 (0)