[ https://issues.apache.org/jira/browse/HAWQ-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kyle R Dunn updated HAWQ-399: ----------------------------- Description: Currently the crc32c.c file contains GCC-specific {code}#pragma GCC target ("sse4.2"){code} - the Clang/LLVM equivalent is to add {code}__attribute__((target("sse4.2"))){code} above the function. This change allows HAWQ to be compiled with the Clang/LLVM toolchain in addition to GCC. (was: Currently the crc32c.c file contains GCC-specific `#pragma GCC target ("sse4.2")` - the Clang/LLVM equivalent is to add `__attribute__((target("sse4.2")))` above the function. This change allows HAWQ to be compiled with the Clang/LLVM toolchain in addition to GCC.) > Enable Clang/LLVM support for compiling SSE42 bits in crc32c.c > -------------------------------------------------------------- > > Key: HAWQ-399 > URL: https://issues.apache.org/jira/browse/HAWQ-399 > Project: Apache HAWQ > Issue Type: Improvement > Components: Build > Reporter: Kyle R Dunn > Assignee: Lei Chang > > Currently the crc32c.c file contains GCC-specific {code}#pragma GCC target > ("sse4.2"){code} - the Clang/LLVM equivalent is to add > {code}__attribute__((target("sse4.2"))){code} above the function. This change > allows HAWQ to be compiled with the Clang/LLVM toolchain in addition to GCC. -- This message was sent by Atlassian JIRA (v6.3.4#6332)