Skip to content

Commit

Permalink
Tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
pennyannn committed Aug 20, 2024
1 parent 29a4376 commit cee04f4
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions scripts/build_awslc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ set -o xtrace
# Remember where LNSym is
LNSym_DIR=${PWD}

# Install dependencies
brew install ninja golang

# Fetching and building AWS-LC
# Fetching AWS-LC
git clone https://github.com/aws/aws-lc.git $HOME/aws-lc --depth 1
cd $HOME/aws-lc; mkdir aws-lc-build; cd aws-lc-build
cd $HOME/aws-lc
# Install dependencies
source tests/ci/common_posix_setup.sh
# Build AWS-LC
mkdir aws-lc-build; cd aws-lc-build
cmake -GNinja -DKEEP_ASM_LOCAL_SYMBOLS=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo ../
ninja

# Move crypto_test to LNSym
cp -f crypto/crypto_test ${LNSym_DIR}/Tests/ELFParser/Data/crypto_test

cd ${LNSym_DIR}

0 comments on commit cee04f4

Please sign in to comment.