Skip to content

Commit c98505c

Browse files
authored
Ensure the right version of libstdc++(11) is installed (#6788)
1 parent a092d26 commit c98505c

File tree

7 files changed

+26
-6
lines changed

7 files changed

+26
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres Fto [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [6.0.0-dev14]
9+
10+
[6.0.0-dev14]: https://github.com/microsoft/CCF/releases/tag/6.0.0-dev14
11+
12+
### Fixed
13+
14+
- All containers now include the correct version of libstdc++/libstdc++-dev, and the Debian package captures the runtime requirement as well.
15+
816
## [6.0.0-dev13]
917

1018
[6.0.0-dev13]: https://github.com/microsoft/CCF/releases/tag/6.0.0-dev13

cmake/cpack_settings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ message(STATUS "Debian package version: ${CPACK_DEBIAN_PACKAGE_VERSION}")
2222
# 1.1.1f, which corresponds to the OpenSSL 1.1.1t release (latest security
2323
# patches).
2424
set(CCF_DEB_BASE_DEPENDENCIES
25-
"libuv1 (>= 1.34.2);openssl (>=1.1.1f);libnghttp2-14 (>=1.40.0);curl (>=7.68.0)"
25+
"libuv1 (>= 1.34.2);openssl (>=1.1.1f);libnghttp2-14 (>=1.40.0);curl (>=7.68.0);libstdc++6 (>=11.0.0)"
2626
)
2727
set(CCF_DEB_DEPENDENCIES ${CCF_DEB_BASE_DEPENDENCIES})
2828

getting_started/setup_vm/roles/ccf_build/tasks/install.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
- name: Include vars for Clang
22
include_vars: "clang{{ clang_version }}.yml"
33

4+
- name: Add stdcxx APT repository
5+
apt_repository:
6+
repo: "ppa:ubuntu-toolchain-r/test"
7+
state: present
8+
update_cache: yes
9+
become: true
10+
411
- name: Install debs
512
apt:
613
name: "{{ debs }}"

getting_started/setup_vm/roles/ccf_build/vars/clang15.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ debs:
55
- apt-transport-https
66
- ninja-build
77
- libuv1-dev
8-
- libc++-{{ clang_ver }}-dev
9-
- libc++abi-{{ clang_ver }}-dev
8+
- libstdc++-11-dev
109
- python3.8-dev
1110
- python3.8-venv
1211
- llvm-{{ clang_ver }}

getting_started/setup_vm/roles/ccf_run/tasks/install.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
- name: Include vars for Clang
22
include_vars: "clang{{ clang_version }}.yml"
33

4+
- name: Add stdcxx APT repository
5+
apt_repository:
6+
repo: "ppa:ubuntu-toolchain-r/test"
7+
state: present
8+
update_cache: yes
9+
become: true
10+
411
- name: Install debs
512
apt:
613
name: "{{ debs }}"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
workspace: "/tmp/"
22
debs:
3-
- libc++abi1-15
4-
- libc++1-15
3+
- libstdc++6
54
- libuv1
65
- libnghttp2-14

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ccf"
7-
version = "6.0.0-dev13"
7+
version = "6.0.0-dev14"
88
authors = [
99
{ name="CCF Team", email="[email protected]" },
1010
]

0 commit comments

Comments
 (0)