diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index 5c4e12793329c..bf8162593c625 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -461,14 +461,12 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} ) -D__CLC_GENERIC_ADDRSPACE_VAL=${generic_addrspace_val} ) - set( clc_build_flags ${build_flags} -DCLC_INTERNAL ) - add_libclc_builtin_set( CLC_INTERNAL ARCH ${ARCH} ARCH_SUFFIX clc-${arch_suffix} TRIPLE ${clang_triple} - COMPILE_FLAGS ${clc_build_flags} + COMPILE_FLAGS ${build_flags} OPT_FLAGS ${opt_flags} LIB_FILES ${clc_lib_files} GEN_FILES ${clc_gen_files} diff --git a/libclc/clc/include/clc/float/definitions.h b/libclc/clc/include/clc/float/definitions.h index 9db49fa54d2e7..93d2b5b391c5a 100644 --- a/libclc/clc/include/clc/float/definitions.h +++ b/libclc/clc/include/clc/float/definitions.h @@ -70,10 +70,6 @@ #define M_SQRT2 0x1.6a09e667f3bcdp+0 #define M_SQRT1_2 0x1.6a09e667f3bcdp-1 -#ifdef __CLC_INTERNAL -#define M_LOG210 0x1.a934f0979a371p+1 -#endif - #endif #ifdef cl_khr_fp16