Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-crt-cpp/0.30.0 package update #40930

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions aws-crt-cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: aws-crt-cpp
version: "0.29.10"
version: "0.30.0"
epoch: 0
description: "C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++"
copyright:
Expand Down Expand Up @@ -32,26 +32,21 @@ pipeline:
with:
repository: https://github.com/awslabs/aws-crt-cpp
tag: v${{package.version}}
expected-commit: 6a55ecc055e3bcbdcae188276f562177ac86f3e9
expected-commit: 89078a6ebd79a1dd124faddf53855a843c6f1bf4

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
- uses: cmake/configure
with:
opts: |
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_DEPS=OFF \
-DBUILD_TESTING="OFF" \
$CMAKE_CROSSOPTS
cmake --build build
-DBUILD_TESTING=OFF \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_HOST_SYSTEM_NAME=Linux

- uses: cmake/build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build
- uses: cmake/install

- uses: strip

Expand All @@ -60,9 +55,6 @@ subpackages:
description: aws-crt-cpp dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-crt-cpp "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- aws-crt-cpp
Expand Down
Loading