diff --git a/libraries/source/nvtt/build.sh b/libraries/source/nvtt/build.sh index 73aa186f7a..f05ce283e5 100755 --- a/libraries/source/nvtt/build.sh +++ b/libraries/source/nvtt/build.sh @@ -6,7 +6,7 @@ set -e cd "$(dirname "$0")" PV=28209 -LIB_VERSION=${PV}+wfg3 +LIB_VERSION=${PV}+wfg4 fetch() { @@ -64,6 +64,9 @@ rm -Rf nvtt-${PV} patch -d nvtt-${PV} -p1 + #undef bool + #endif +--- a/src/src/nvmath/SimdVector_VE.h ++++ b/src/src/nvmath/SimdVector_VE.h +@@ -27,7 +27,7 @@ + #ifndef NV_SIMD_VECTOR_VE_H + #define NV_SIMD_VECTOR_VE_H + +-#ifndef __APPLE_ALTIVEC__ ++#if !defined(__APPLE_ALTIVEC__) || defined(__powerpc64__) + #include + #undef bool + #endif