mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
valgrind crate avx512 fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
fe71c389d6
commit
a59e9169fe
@ -20,6 +20,12 @@ fn build_host() {
|
||||
// the preprocessed host is stored beside the platform's main.roc
|
||||
let preprocessed_host_path =
|
||||
platform_main_roc.with_file_name(preprocessed_host_filename(&target).unwrap());
|
||||
|
||||
// valgrind does not support avx512 yet: https://bugs.kde.org/show_bug.cgi?id=383010
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
if is_x86_feature_detected!("avx512f") {
|
||||
std::env::set_var("NO_AVX512", "1");
|
||||
}
|
||||
|
||||
build_and_preprocess_host(
|
||||
roc_mono::ir::OptLevel::Normal,
|
||||
|
Loading…
Reference in New Issue
Block a user