diff options
author | Chih-Hsuan Yen | 2019-08-04 11:09:07 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2019-08-04 11:09:07 +0800 |
commit | 5d2f99386b7c4c18265c5d5c181f985be85bda37 (patch) | |
tree | 5fb1eefe043bc34a034bafde3a58a4fe969a330b /build-fixes.patch | |
parent | f270c2833e90f50e9d6eba11cbccaba25bf13d30 (diff) | |
download | aur-5d2f99386b7c4c18265c5d5c181f985be85bda37.tar.gz |
update to 0.5.0
extra/protobuf still stucks at 3.7.0 :/
Diffstat (limited to 'build-fixes.patch')
-rw-r--r-- | build-fixes.patch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build-fixes.patch b/build-fixes.patch index 7276d69d9d4d..e061f592bdb4 100644 --- a/build-fixes.patch +++ b/build-fixes.patch @@ -43,7 +43,7 @@ index 96c89fef..0e37e487 100644 # TVM if (onnxruntime_USE_TVM) -@@ -620,11 +605,10 @@ if (onnxruntime_BUILD_UNIT_TESTS) +@@ -620,15 +605,10 @@ if (onnxruntime_BUILD_UNIT_TESTS) # turned ON by the previous step when building a shared lib set(CMAKE_SKIP_BUILD_RPATH OFF) # gtest and gmock @@ -52,6 +52,10 @@ index 96c89fef..0e37e487 100644 - set_target_properties(gmock_main PROPERTIES FOLDER "External/GTest") - set_target_properties(gtest PROPERTIES FOLDER "External/GTest") - set_target_properties(gtest_main PROPERTIES FOLDER "External/GTest") +- if(UNIX) +- target_compile_options(gmock PRIVATE "-w") +- target_compile_options(gtest PRIVATE "-w") +- endif() + pkg_check_modules(GTEST REQUIRED IMPORTED_TARGET GLOBAL gtest) + pkg_check_modules(GMOCK REQUIRED IMPORTED_TARGET GLOBAL gmock) + add_library(gtest ALIAS PkgConfig::GTEST) |