Skip to content

Commit ef44173

Browse files
committed
add comment justifying get_compiler call in meson build
1 parent 5dc2c72 commit ef44173

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ np_dir = run_command(py,
2222
inc_np = include_directories(np_dir, 'mkl_fft/src', 'mkl_fft')
2323

2424
# compiler/linker
25+
# this looks like dead code, but it isn't: removing get_compiler call
26+
# can cause segfaults at runtime (most notably when building with Intel clang)
2527
cc = meson.get_compiler('c')
2628
c_args = ['-DNDEBUG']
2729

0 commit comments

Comments
 (0)