File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,14 @@ fn identify_sources() -> Vec<&'static str> {
7272 source_files. append ( & mut Vec :: from ( linux_arm:: CRYPTO_LIBRARY ) ) ;
7373 } else if target_arch ( ) == "x86" {
7474 source_files. append ( & mut Vec :: from ( linux_x86:: CRYPTO_LIBRARY ) ) ;
75- } else if target_arch ( ) == "powerpc64le " {
75+ } else if target_arch ( ) == "ppc64le " {
7676 source_files. append ( & mut Vec :: from ( linux_ppc64le:: CRYPTO_LIBRARY ) ) ;
77+ } else {
78+ emit_warning ( format ! (
79+ "No target-specific source found: {}-{}" ,
80+ target_os( ) ,
81+ target_arch( )
82+ ) ) ;
7783 }
7884 source_files
7985}
Original file line number Diff line number Diff line change 11// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22// SPDX-License-Identifier: Apache-2.0 OR ISC
3+ // Fri Oct 17 20:03:08 UTC 2025
34
45pub ( super ) const CRYPTO_LIBRARY : & [ & str ] = & [
56 "generated-src/linux-ppc64le/crypto/fipsmodule/aesp8-ppc.S" ,
Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ source "${SCRIPT_DIR}/_common.sh"
1111
1212pushd " ${AWS_LC_DIR} "
1313declare -a SOURCE_FILES
14- SOURCE_FILES=(" generated-src/err_data.c" )
15- mapfile -O 1 -t SOURCE_FILES < <( find crypto -name " *.c" -type f | rg --pcre2 -v ' crypto/fipsmodule/(?!(bcm.c|cpucap/cpucap.c))' | rg --pcre2 -v ' crypto/kyber/pqcrystals_kyber_ref_common/(?!fips202.c)' | rg --pcre2 -v ' _test\.c$' | sort -f)
16- echo " ${SOURCE_FILES[@]} "
17- mapfile -O ${# SOURCE_FILES[@]} -t SOURCE_FILES < <( find third_party/jitterentropy/jitterentropy-library/src -type f -name " *.c" | sort -f)
14+ SOURCE_FILES=( )
15+ mapfile -O ${# SOURCE_FILES[@]} -t SOURCE_FILES < <( find generated-src/linux-ppc64le/crypto -name " *.S" -type f | sort -f)
1816echo " ${SOURCE_FILES[@]} "
17+
1918popd
2019
2120# Sort SOURCE_FILES array
You can’t perform that action at this time.
0 commit comments