Skip to content

Commit f39a1ab

Browse files
committed
Fix header not always available
1 parent 62d140a commit f39a1ab

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

include/xsimd/config/xsimd_cpu_features_ppc.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
1515
#include "./xsimd_config.hpp"
1616
#include "./xsimd_getauxval.hpp"
1717

18-
#if XSIMD_TARGET_PPC && XSIMD_HAVE_LINUX_GETAUXVAL
19-
// HWCAP_XXX masks to use on getauxval results.
20-
// Header does not exists on all architectures and masks are architecture
21-
// specific.
22-
#include <asm/hwcap.h>
23-
#endif // XSIMD_TARGET_PPC && XSIMD_HAVE_LINUX_GETAUXVAL
24-
2518
namespace xsimd
2619
{
2720
/**

include/xsimd/config/xsimd_cpuid.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include "../types/xsimd_all_registers.hpp"
1616
#include "./xsimd_cpu_features_arm.hpp"
17-
#include "./xsimd_cpu_features_riscv.hpp"
1817
#include "./xsimd_cpu_features_ppc.hpp"
18+
#include "./xsimd_cpu_features_riscv.hpp"
1919
#include "./xsimd_cpu_features_x86.hpp"
2020
#include "./xsimd_inline.hpp"
2121

0 commit comments

Comments
 (0)