FIAS . Impressum . Privacy

how to use variable Vc_AVX_INTRINSICS_BROKEN

Ke, Hongwei [please enable javascript to see the address]
Wed Jun 10 16:59:44 CEST 2020


Hi Expert,

I have Vc build successfully on my machine.
When I tried to link it to my project, I would like to avoid using AVX and AVX2.
I did the following in my CMakeLists.txt

set(Vc_AVX_INTRINSICS_BROKEN TRUE)
set(Vc_AVX2_INTRINSICS_BROKEN TRUE)
find_package(Vc REQUIRED)

However, setting the variables seems has no effect.
I still have -mavx flag.
Could you show me how to properly use these variables?

Best regards,

Hongwei Ke




More information about the Vc mailing list
FIAS . Impressum . Privacy