Skip to content

Commit

Permalink
Merge pull request #106 from privacysandbox/release-0.73.0
Browse files Browse the repository at this point in the history
Release 0.73.0
  • Loading branch information
pmeric authored Oct 31, 2024
2 parents 1f1f1ea + 03e0060 commit 00e5172
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .clang.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:cpp --client_env=BAZEL_CXXOPTS=-std=c++20
build:cpp --cxxopt=-std=c++20
build:cpp --client_env=CC=clang
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.73.0 (2024-10-31)


### Features

* Create .clang.bazelrc


### Dependencies

* **deps:** Upgrade clang to v18

## 0.72.0 (2024-10-23)


Expand Down
23 changes: 18 additions & 5 deletions images/build-debian/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function install_python() {
}

function install_misc() {
declare -r arch="$1"
apt-get --quiet install -y --no-install-recommends \
apt-transport-https="2.4.*" \
bsdmainutils \
Expand All @@ -82,6 +83,14 @@ function install_misc() {
xz-utils="5.2.*" \
zip="3.0-*"

if [[ ${arch} == "amd64" ]]; then
wget http://launchpadlibrarian.net/592499569/bzip2_1.0.8-5build1_amd64.deb
dpkg -i bzip2_1.0.8-5build1_amd64.deb
else
wget http://launchpadlibrarian.net/592503850/bzip2_1.0.8-5build1_arm64.deb
dpkg -i bzip2_1.0.8-5build1_arm64.deb
fi

if [[ -n ${INSTALL_LOCALE} ]]; then
printf "\nSetting locale to: %s\n" "${INSTALL_LOCALE}"
locale-gen "${INSTALL_LOCALE}"
Expand All @@ -93,7 +102,7 @@ function install_clang() {
curl --silent --fail --show-error --location --remote-name https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh ${CLANG_VER}
apt-get --quiet install -y --no-install-recommends libc++-${CLANG_VER}-dev
apt-get --quiet install -y --no-install-recommends libc++-${CLANG_VER}-dev libc++abi-${CLANG_VER}-dev libclang-${CLANG_VER}-dev
for prog in clang lldb lld ld.lld llvm-cov llvm-profdata; do
update-alternatives --install /usr/bin/${prog} ${prog} /usr/bin/${prog}-${CLANG_VER} 100
done
Expand Down Expand Up @@ -121,9 +130,13 @@ function install_docker() {
}

function install_clang_tidy() {
apt-get --quiet install -y clang-tidy
printf "clang-tidy version: %s\n" "$(clang-tidy --version)"
printf "clang-tidy config: %s\n" "$(clang-tidy -dump-config)"
printf "clang-tidy version: %s\n" "$(apt-cache show clang-tidy)"
apt-get --quiet install -y clang-tidy-${CLANG_VER}
printf "clang-tidy version: %s\n" "$(clang-tidy-${CLANG_VER} --version)"
printf "clang-tidy config: %s\n" "$(clang-tidy-${CLANG_VER} -dump-config)"
installed_clang_tidy=$(which clang-tidy-${CLANG_VER})
installed_dir="$(dirname "${installed_clang_tidy}")"
ln -s "${installed_clang_tidy}" "${installed_dir}"/clang-tidy
}

function cleanup() {
Expand All @@ -143,7 +156,7 @@ fi
declare -x -r DEBIAN_FRONTEND=noninteractive

apt_update
install_misc
install_misc "${BUILD_ARCH}"
install_clang
install_clang_tidy
install_golang "${BUILD_ARCH}"
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hashes/build-debian
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1a595986739d80813edc0eb5736834589a1d39aaa28dcd18eb7c37484f27e3bb
bfc34df959f55f87ba7395cfe1dc46479a7fa6319ebfcebcf6c97770fe449046
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.72.0
0.73.0

0 comments on commit 00e5172

Please sign in to comment.