deps: Bump org_llvm_llvm -> 12.0.1, com_github_wavm_wavm -> 9ffd3e2#18747
deps: Bump org_llvm_llvm -> 12.0.1, com_github_wavm_wavm -> 9ffd3e2#18747phlax merged 4 commits intoenvoyproxy:mainfrom
org_llvm_llvm -> 12.0.1, com_github_wavm_wavm -> 9ffd3e2#18747Conversation
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
42cff95 to
28e9627
Compare
|
still (or now) failing with |
PiotrSikora
left a comment
There was a problem hiding this comment.
still (or now) failing with
ERROR: /build/tmp/_bazel_envoybuild/400406edc57d332f0b9b805d2b8e33a1/external/envoy/bazel/foreign_cc/BUILD:239:12: output 'external/envoy/bazel/foreign_cc/llvm/lib/libPolly.a' was not created ERROR: /build/tmp/_bazel_envoybuild/400406edc57d332f0b9b805d2b8e33a1/external/envoy/bazel/foreign_cc/BUILD:239:12: output 'external/envoy/bazel/foreign_cc/llvm/lib/libPollyISL.a' was not created ERROR: /build/tmp/_bazel_envoybuild/400406edc57d332f0b9b805d2b8e33a1/external/envoy/bazel/foreign_cc/BUILD:239:12: Foreign Cc - CMake: Building llvm failed: not all outputs were created or valid
Apply this patch to fix it (tested with both: WAVM and WAMR):
--- a/bazel/foreign_cc/BUILD
+++ b/bazel/foreign_cc/BUILD
@@ -289,33 +289,57 @@ envoy_cmake(
# ...inside the `envoy-build-ubuntu` image - this assumes a build image
# with the correct/updated llvm version.
#
+ "libLLVMWindowsManifest.a",
+ "libLLVMXRay.a",
+ "libLLVMLibDriver.a",
+ "libLLVMDlltoolDriver.a",
+ "libLLVMCoverage.a",
+ "libLLVMLineEditor.a",
+ "libLLVMX86Disassembler.a",
"libLLVMX86AsmParser.a",
+ "libLLVMX86CodeGen.a",
"libLLVMX86Desc.a",
"libLLVMX86Info.a",
- "libLLVMMCDisassembler.a",
"libLLVMOrcJIT.a",
+ "libLLVMMCJIT.a",
"libLLVMJITLink.a",
"libLLVMOrcTargetProcess.a",
"libLLVMOrcShared.a",
- "libLLVMMIRParser.a",
+ "libLLVMInterpreter.a",
+ "libLLVMExecutionEngine.a",
+ "libLLVMRuntimeDyld.a",
+ "libLLVMSymbolize.a",
+ "libLLVMDebugInfoPDB.a",
+ "libLLVMDebugInfoGSYM.a",
+ "libLLVMOption.a",
+ "libLLVMObjectYAML.a",
+ "libLLVMMCA.a",
+ "libLLVMMCDisassembler.a",
"libLLVMLTO.a",
- "libLLVMExtensions.a",
- "libPolly.a",
- "libPollyISL.a",
"libLLVMPasses.a",
+ "libLLVMCFGuard.a",
+ "libLLVMCoroutines.a",
"libLLVMObjCARCOpts.a",
"libLLVMHelloNew.a",
- "libLLVMCoroutines.a",
"libLLVMipo.a",
- "libLLVMInstrumentation.a",
"libLLVMVectorize.a",
"libLLVMLinker.a",
- "libLLVMIRReader.a",
+ "libLLVMInstrumentation.a",
"libLLVMFrontendOpenMP.a",
- "libLLVMInterpreter.a",
- "libLLVMExecutionEngine.a",
- "libLLVMRuntimeDyld.a",
+ "libLLVMFrontendOpenACC.a",
+ "libLLVMExtensions.a",
+ "libLLVMDWARFLinker.a",
+ "libLLVMGlobalISel.a",
+ "libLLVMMIRParser.a",
+ "libLLVMAsmPrinter.a",
+ "libLLVMDebugInfoDWARF.a",
+ "libLLVMSelectionDAG.a",
"libLLVMCodeGen.a",
+ "libLLVMIRReader.a",
+ "libLLVMAsmParser.a",
+ "libLLVMInterfaceStub.a",
+ "libLLVMFileCheck.a",
+ "libLLVMFuzzMutate.a",
"libLLVMTarget.a",
"libLLVMScalarOpts.a",
"libLLVMInstCombine.a",
@@ -324,7 +348,6 @@ envoy_cmake(
"libLLVMBitWriter.a",
"libLLVMAnalysis.a",
"libLLVMProfileData.a",
- "libLLVMDebugInfoDWARF.a",
"libLLVMObject.a",
"libLLVMTextAPI.a",
"libLLVMMCParser.a",
@@ -332,11 +355,11 @@ envoy_cmake(
"libLLVMDebugInfoCodeView.a",
"libLLVMDebugInfoMSF.a",
"libLLVMBitReader.a",
- "libLLVMAsmParser.a",
"libLLVMCore.a",
"libLLVMRemarks.a",
"libLLVMBitstreamReader.a",
"libLLVMBinaryFormat.a",
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@PiotrSikora thanks, applied
i have simplified/updated the message about regenerating this list - lmk if this is more accurate |
PiotrSikora
left a comment
There was a problem hiding this comment.
LGTM, thanks!
Note: compile_time_options timeouts and coverage fails for some reason.
|
/retest |
|
Retrying Azure Pipelines: |
|
/LGTM deps Thanks! |
|
/lgtm deps |
|
@wrowe can i get a maintainer stamp please |
wrowe
left a comment
There was a problem hiding this comment.
Looks correct, Linux side anyways. This may cause some chaos with mobile, win32 etc, we have to see if this is shared on those platforms.
|
i think it at least gives us consistency with llvm used elsewhere |
* main: (221 commits) deps: Bump `protobuf` -> 3.19.0 (envoyproxy#18471) tooling: auto-assign dependency shephards (envoyproxy#18794) clang-tidy: Return from diff fun if empty diff (envoyproxy#18815) repokitteh: Block PRs pending deps approval (envoyproxy#18814) deps: Bump `org_llvm_llvm` -> 12.0.1, `com_github_wavm_wavm` -> 9ffd3e2 (envoyproxy#18747) dns resolvers: add All lookup mode (envoyproxy#18464) doc: fix link formatting for TLS session_timeout (envoyproxy#18790) ext_authz: Set response flag and code details to UAEX when denied (envoyproxy#18740) socket options: add support for directly creating ipv4/ipv6 pairs (envoyproxy#18769) ecds: make onConfigUpdate generic over filter type (envoyproxy#18061) bazel: update CMake instructions in EXTERNAL_DEPS.md (envoyproxy#18799) upstream: fix typo in comment (envoyproxy#18798) runtime: removing envoy.reloadable_features.grpc_json_transcoder_adhere_to_buffer_limits (envoyproxy#18696) bazel: Add CC=clang to clang configuration (envoyproxy#18732) fix error request id in the dubbbo local reply (envoyproxy#18741) event: assert the case of both read and closed event registered (envoyproxy#18265) tcp proxy connect tunneling: improved testing (envoyproxy#18784) deps: Bump `protoc-gen-validate` -> 0.6.2 (envoyproxy#18742) deps: Bump `rules_pkg` -> ad57589 (envoyproxy#18746) bazel: copy .bazelversion for envoy filter examples (envoyproxy#18730) ... Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message:
Additional Description:
Following up on comments:
#18521 (comment)
#15021 (comment)
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]