← Back to context Comment by ozgrakkurt 14 hours ago Why detect avx512 in build system instead of using #ifdef ? 1 comment ozgrakkurt Reply ozgrakkurt 10 hours ago It actually does detect it using ifdef [0] but uses cmake stuff to avoid passing "-mavx512" kind of flags to the compiler [1].[0] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...[1] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...
ozgrakkurt 10 hours ago It actually does detect it using ifdef [0] but uses cmake stuff to avoid passing "-mavx512" kind of flags to the compiler [1].[0] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...[1] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...
It actually does detect it using ifdef [0] but uses cmake stuff to avoid passing "-mavx512" kind of flags to the compiler [1].
[0] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...
[1] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...