1283 apple silicon (#1286)

* llvm assert fix #1283 #1284 

* add UDUNITS link flags to DPX test #1283 #1285

closes #1283
closes #1284
closes #1285
This commit is contained in:
Scott Fennell 2022-06-13 09:56:17 -05:00 committed by GitHub
parent ee370d6d33
commit ac79af0358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ int main(int argc, char * argv[]) {
ci.setASTConsumer(astConsumer);
#endif
ci.createASTContext();
ci.createSema(clang::TU_Prefix, NULL);
ci.createSema(clang::TU_Complete, NULL);
// Get the full path of the file to be read
char buffer[input_file_names[0].size() + 1];

View File

@ -47,7 +47,7 @@ DP_LIBS = -L${TRICK_HOME}/trick_source/data_products/lib_${TRICK_HOST_CP
MODEL_LIBS = -lxml2 \
-L${DPX_DIR}/lib_${TRICK_HOST_CPU} -lDPM \
-L${TRICK_HOME}/trick_source/data_products/lib_${TRICK_HOST_CPU} -ltrick_units \
${GTEST_LIBS} -lpthread -ludunits2
${GTEST_LIBS} -lpthread -ludunits2 ${UDUNITS_LDFLAGS}
CONTROLLER_LIBS = -lDPC \
${MODEL_LIBS} ${DP_LIBS} \
${XLIBS} ${LIBRTDEF} \