GH-34157: [C++] Configure bundled AWS SDK to use aws-lc instead of OpenSSL#34159
GH-34157: [C++] Configure bundled AWS SDK to use aws-lc instead of OpenSSL#34159kou merged 19 commits intoapache:masterfrom
Conversation
|
@github-actions crossbow submit -g cpp -g r |
|
@github-actions crossbow submit java-jars |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
8b547a8 to
ad4a5bc
Compare
|
@github-actions crossbow submit -g cpp -g r |
|
@github-actions crossbow submit java-jars |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
cb07ab5 to
2f77681
Compare
|
@github-actions crossbow submit java-jars |
|
@github-actions crossbow submit -g cpp -g r |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@github-actions crossbow submit java-jars |
|
@github-actions crossbow submit -g cpp -g r |
This comment was marked as outdated.
This comment was marked as outdated.
561a147 to
e4dcae8
Compare
|
@github-actions crossbow submit java-jars |
|
@github-actions crossbow submit -g cpp -g r |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
e4dcae8 to
09bb8b5
Compare
|
@github-actions crossbow submit java-jars |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Nice find! I thought of this reason but didn't find this change. I created a new issue #34189 for this. |
|
CI failures are unrelated. I think this is ready to to merged. cc @kou |
|
@github-actions crossbow submit -g cpp -g r java-jars |
This comment was marked as outdated.
This comment was marked as outdated.
d33a98f to
f44c1bf
Compare
|
@github-actions crossbow submit -g cpp -g r java-jars |
This comment was marked as outdated.
This comment was marked as outdated.
|
Revision: f44c1bf Submitted crossbow builds: ursacomputing/crossbow @ actions-7b13f07b9d |
|
Sorry. Can we try this? diff --git a/ci/scripts/java_jni_macos_build.sh b/ci/scripts/java_jni_macos_build.sh
index 391d05642..37bbe1283 100755
--- a/ci/scripts/java_jni_macos_build.sh
+++ b/ci/scripts/java_jni_macos_build.sh
@@ -109,6 +109,7 @@ fi
popd
+export JAVA_JNI_CMAKE_ARGS="-DProtobuf_ROOT=${build_dir}/cpp/protobuf_ep-install"
${arrow_dir}/ci/scripts/java_jni_build.sh \
${arrow_dir} \
${install_dir} \ |
|
@github-actions crossbow submit java-jars |
|
Revision: 89c547c Submitted crossbow builds: ursacomputing/crossbow @ actions-4bf574a4e3
|
It works. Thanks for suggesting this! |
|
@github-actions crossbow submit -g wheel |
|
Revision: 89c547c Submitted crossbow builds: ursacomputing/crossbow @ actions-5407ab76c8 |
|
@js8544 It seems that we need more work for manylinux wheels. Could you open a new issue for it? |
|
Benchmark runs are scheduled for baseline = b955da0 and contender = 798b417. 798b417 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
['Python', 'R'] benchmarks have high level of regressions. |
…ed AWS (#34215) To fix build failures such as #34159 (comment), we need to help it find OpenSSL. * Closes: #34214 Authored-by: Jin Shang <shangjin1997@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… of OpenSSL (apache#34159) Using OpenSSL causes various issues like apache#33808 (comment) and apache#34111. We should try to use aws-lc for libcrypto and libssl. We need to hide them inside s2n-tls to avoid name conflicts with OpenSSL used by other libraries. Some notes: 1. Only linux needs s2n-tls and aws-lc. 2. Because aws-c-http requires curl which requires libcrypto from OpenSSL, we need to hide Aws::libcrypto by S2N_INTERN_LIBCRYPTO=ON. 3. aws-c-cal also uses libcrypto, but it can't hide it. So we need to use OpenSSL instead of aws-lc for it. 4. Mac and windows don't need s2n-tls, but do need some security libs from system, like `-framework Security` and `ncrypt.lib`. 5. arrow-s3fs-test is re-enabled. 6. Force Java Gandiva to use static protobuf lib. * Closes: apache#34157 Lead-authored-by: Jin Shang <shangjin1997@gmail.com> Co-authored-by: jinshang <jinshang@tencent.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Using OpenSSL causes various issues like #33808 (comment) and #34111. We should try to use aws-lc for libcrypto and libssl. We need to hide them inside s2n-tls to avoid name conflicts with OpenSSL used by other libraries.
Some notes:
-framework Securityandncrypt.lib.