From 83f480ed77955d4ebd9ebece02c64ebef07419cb Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Tue, 12 Nov 2024 19:55:57 +0000 Subject: [PATCH 1/8] move to ubuntu22 --- .github/workflows/nightly.yml | 4 ++-- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1a14d975..6b0de851 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -8,7 +8,7 @@ on: jobs: main_job: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: NIGHTLY_BUILD_FLAGS: "valgrind --leak-check=yes" @@ -92,7 +92,7 @@ jobs: ./scripts/run_tools_test.sh linux_build_with_emscripten: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3489fb38..6df9f53c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ defaults: shell: bash jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Extract repo name diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3dd2b9cd..87941851 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ defaults: shell: bash jobs: linux_build_and_test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Extract repo name run: echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / @@ -213,7 +213,7 @@ jobs: ./threshold_encryption/te_test ./dkg_attack linux_build_with_emscripten: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: node-version: From 3f9b140b85dac3127238acec080bd1babdc9eaea Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 12:06:55 +0000 Subject: [PATCH 2/8] fix cmake warning --- deps/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/build.sh b/deps/build.sh index 2810378e..5743ce55 100755 --- a/deps/build.sh +++ b/deps/build.sh @@ -917,7 +917,7 @@ then mkdir -p build cd build #$CMAKE "${CMAKE_CROSSCOMPILING_OPTS}" -DBUILD_CURL_EXE=OFF -DBUILD_TESTING=OFF -DCMAKE_USE_LIBSSH2=OFF -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DCURL_STATICLIB=ON -DOPENSSL_CRYPTO_LIBRARY="$INSTALL_ROOT/lib/libcrypto.a" -DOPENSSL_INCLUDE_DIR="$INSTALL_ROOT/include" -DOPENSSL_SSL_LIBRARY="$INSTALL_ROOT/lib/libssl.a" CMAKE_C_COMPILER_WORKS=ON CMAKE_CXX_COMPILER_WORKS=ON .. - cmake "${CMAKE_CROSSCOMPILING_OPTS}" -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DOPENSSL_ROOT_DIR="$SOURCES_ROOT/openssl" -DBUILD_CURL_EXE=OFF -DBUILD_TESTING=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_SHARED_LIBS=OFF -DCURL_DISABLE_LDAP=ON -DCURL_STATICLIB=ON -DCMAKE_BUILD_TYPE="$TOP_CMAKE_BUILD_TYPE" .. + cmake "${CMAKE_CROSSCOMPILING_OPTS}" -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DOPENSSL_ROOT_DIR="$SOURCES_ROOT/openssl" -DBUILD_CURL_EXE=OFF -DBUILD_TESTING=OFF -DCURL_USE_LIBSSH2=OFF -DBUILD_SHARED_LIBS=OFF -DCURL_DISABLE_LDAP=ON -DCURL_STATICLIB=ON -DCMAKE_BUILD_TYPE="$TOP_CMAKE_BUILD_TYPE" .. echo " " >> lib/curl_config.h echo "#define HAVE_POSIX_STRERROR_R 1" >> lib/curl_config.h echo " " >> lib/curl_config.h From 69a78c9a894790a9986368ead9a6e7641d32eb2a Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 13:25:49 +0000 Subject: [PATCH 3/8] remove macos-11 --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87941851..65ec1fc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -126,7 +126,6 @@ jobs: export CC=gcc-9 export CXX=g++-9 export TARGET=all - export CMAKE_BUILD_FLAGS="-DCOVERAGE=ON" cd deps ./build.sh - name: Configure all @@ -177,7 +176,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.info osx_build_and_test: - runs-on: macos-11 + runs-on: macos-12 steps: - name: Extract repo name run: echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / From 0c697140dcf411149afd5f9388d5f399ce1fc575 Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 17:34:50 +0000 Subject: [PATCH 4/8] cleanup packages --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65ec1fc1..9be679ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,7 +78,7 @@ jobs: sudo apt-get update sudo apt-get install -y gcc-9 g++-9 gawk sed shtool \ - libffi-dev yasm texinfo flex bison libgnutls28-dev python3 gcc-multilib git + libffi-dev yasm texinfo libgnutls28-dev python3 gcc-multilib git sudo apt-get update -qq sudo apt-get install -y python3-pip @@ -231,9 +231,7 @@ jobs: - name: Install packages run: | sudo apt-get update - sudo apt-get install -y gcc-9 g++-9 gawk sed shtool \ - libffi-dev yasm texinfo flex bison \ - python3 gcc-multilib + sudo apt-get install -y gcc-9 g++-9 gawk sed shtool libffi-dev yasm texinfo python3 gcc-multilib sudo apt-get update -qq sudo apt-get install -y python3-pip pip3 install --upgrade pip From 9ae5ba9fd2a5751b3a2dd8b9f8faa505bc05b449 Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 19:30:47 +0000 Subject: [PATCH 5/8] cleanup build steps --- deps/build.sh | 90 +++++++-------------------------------------------- 1 file changed, 12 insertions(+), 78 deletions(-) diff --git a/deps/build.sh b/deps/build.sh index 5743ce55..e6e5a9e5 100755 --- a/deps/build.sh +++ b/deps/build.sh @@ -56,7 +56,6 @@ then fi if [ "$UNIX_SYSTEM_NAME" = "Darwin" ]; then - #export NUMBER_OF_CPU_CORES=$(system_profiler | awk '/Number Of CPUs/{print $4}{next;}') export NUMBER_OF_CPU_CORES=$(sysctl -n hw.ncpu) # required -> brew install coreutils export READLINK=/usr/local/bin/greadlink @@ -81,25 +80,15 @@ cd "$WORKING_DIR_NEW" argc=$# argv=($@) for (( j=0; j /dev/null source "${SOURCES_ROOT}/saved_environment_pre_configured.txt" fi } @@ -659,9 +617,6 @@ then echo -e "${COLOR_SEPARATOR}==================== ${COLOR_PROJECT_NAME}Open SSL${COLOR_SEPARATOR} =====================================${COLOR_RESET}" if [ ! -f "$INSTALL_ROOT/lib/libssl.a" ]; then - ## openssl - ## https://www.openssl.org/ - ## https://wiki.openssl.org/index.php/Compilation_and_Installation ## (required for libff) env_restore cd "$SOURCES_ROOT" @@ -770,12 +725,12 @@ then if [ ! -f "$INSTALL_ROOT/lib/libff.a" ]; then env_restore - cd "$SOURCES_ROOT" - if [ ! -d "libff" ]; - then - echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" - eval git clone https://github.com/scipr-lab/libff.git --recursive # libff - fi + cd "$SOURCES_ROOT" + if [ ! -d "libff" ]; + then + echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" + eval git clone https://github.com/scipr-lab/libff.git --recursive # libff + fi cd libff echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}" eval git fetch @@ -854,7 +809,7 @@ then if [ ! -d "argtable2" ]; then echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" - git clone https://github.com/jonathanmarvens/argtable2.git + git clone https://github.com/jonathanmarvens/argtable2.git echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}" cd argtable2 mkdir -p build @@ -884,7 +839,6 @@ then else if [ ! -f "$INSTALL_ROOT/lib/libcurl.a" ]; then - # https://github.com/curl/curl env_restore cd "$SOURCES_ROOT" export PKG_CONFIG_PATH_SAVED=$PKG_CONFIG_PATH @@ -895,33 +849,23 @@ then then echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" git clone https://github.com/curl/curl.git - cd curl - git checkout curl-8_2_1 - cd .. + cd curl + git checkout curl-8_2_1 + cd .. echo -e "${COLOR_INFO}archiving it${COLOR_DOTS}...${COLOR_RESET}" tar -czf curl-from-git.tar.gz ./curl else echo -e "${COLOR_INFO}unpacking it${COLOR_DOTS}...${COLOR_RESET}" tar -xzf curl-from-git.tar.gz fi - # - # l_sergiy: moved into $PREDOWNLOADED_ROOT - # - # # echo -e "${COLOR_INFO}unpacking it${COLOR_DOTS}...${COLOR_RESET}" - # # tar -xzf $PREDOWNLOADED_ROOT/curl-from-git.tar.gz - # - # - # echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}" cd curl mkdir -p build cd build - #$CMAKE "${CMAKE_CROSSCOMPILING_OPTS}" -DBUILD_CURL_EXE=OFF -DBUILD_TESTING=OFF -DCMAKE_USE_LIBSSH2=OFF -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DCURL_STATICLIB=ON -DOPENSSL_CRYPTO_LIBRARY="$INSTALL_ROOT/lib/libcrypto.a" -DOPENSSL_INCLUDE_DIR="$INSTALL_ROOT/include" -DOPENSSL_SSL_LIBRARY="$INSTALL_ROOT/lib/libssl.a" CMAKE_C_COMPILER_WORKS=ON CMAKE_CXX_COMPILER_WORKS=ON .. cmake "${CMAKE_CROSSCOMPILING_OPTS}" -DCMAKE_INSTALL_PREFIX="$INSTALL_ROOT" -DOPENSSL_ROOT_DIR="$SOURCES_ROOT/openssl" -DBUILD_CURL_EXE=OFF -DBUILD_TESTING=OFF -DCURL_USE_LIBSSH2=OFF -DBUILD_SHARED_LIBS=OFF -DCURL_DISABLE_LDAP=ON -DCURL_STATICLIB=ON -DCMAKE_BUILD_TYPE="$TOP_CMAKE_BUILD_TYPE" .. echo " " >> lib/curl_config.h echo "#define HAVE_POSIX_STRERROR_R 1" >> lib/curl_config.h echo " " >> lib/curl_config.h - ### Set HAVE_POSIX_STRERROR_R to 1 in build/lib/curl_config.h cd ../.. fi echo -e "${COLOR_INFO}building it${COLOR_DOTS}...${COLOR_RESET}" @@ -992,13 +936,9 @@ then cd "$SOURCES_ROOT" if [ ! -d "jsoncpp" ]; then - # - #echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" - #git clone git@github.com:open-source-parsers/jsoncpp.git - # echo -e "${COLOR_INFO}unpacking it${COLOR_DOTS}...${COLOR_RESET}" tar -xzf "$PREDOWNLOADED_ROOT/jsoncpp.tar.gz" - # + echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}" cd jsoncpp mkdir -p build @@ -1035,14 +975,10 @@ then cd "$SOURCES_ROOT" if [ ! -d "libjson-rpc-cpp" ]; then - # - #echo -e "${COLOR_INFO}getting it from git${COLOR_DOTS}...${COLOR_RESET}" - #git clone git@github.com:cinemast/libjson-rpc-cpp.git - # echo -e "${COLOR_INFO}unpacking it${COLOR_DOTS}...${COLOR_RESET}" unzip -o "$PREDOWNLOADED_ROOT/libjson-rpc-cpp.zip" cp -r libjson-rpc-cpp-develop libjson-rpc-cpp - # + echo -e "${COLOR_INFO}configuring it${COLOR_DOTS}...${COLOR_RESET}" cd libjson-rpc-cpp mkdir -p build @@ -1090,8 +1026,6 @@ echo -e " " echo -e " " echo -e " " -#env_restore -#cd "$CUSTOM_BUILD_ROOT" cd "$WORKING_DIR_OLD" env_restore_original exit 0 From 031280b5b026b21647121ddb926df58d4ed6cba7 Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 19:33:04 +0000 Subject: [PATCH 6/8] cleaup packages --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ec2adda..8bef5237 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ Ensure that the required packages are installed by executing: ```shell sudo apt-get update -sudo apt-get install -y automake cmake build-essential libprocps-dev libtool\ - pkg-config yasm texinfo autoconf flex bison clang-format-6.0 +sudo apt-get install -y automake cmake build-essential libgnutls28-dev libtool\ + pkg-config yasm texinfo autoconf clang-format-14 ``` Configure the project build with the following commands. From b3b1c8b69ba953b3edbffa61686bbecc0e31886f Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Wed, 13 Nov 2024 19:42:23 +0000 Subject: [PATCH 7/8] move to g++ 11 --- .github/workflows/nightly.yml | 31 +++++++++++++++---------------- .github/workflows/publish.yml | 28 ++++++++++++++-------------- .github/workflows/test.yml | 34 +++++++++++++++++----------------- README.md | 2 +- 4 files changed, 47 insertions(+), 48 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6b0de851..a31e50ff 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -31,39 +31,39 @@ jobs: - name: Install packages run: | sudo apt-get install -y software-properties-common - sudo apt-get install -y gcc-9 g++-9 - - name: use g++-9 by default + sudo apt-get install -y gcc-11 g++-11 + - name: use g++-11 by default run: | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11 - name: Install more packages run: | sudo apt-get install -y gawk sed shtool \ - libffi-dev yasm texinfo flex bison libgnutls28-dev libc6-dbg gcc-multilib + libffi-dev yasm texinfo libgnutls28-dev libc6-dbg gcc-multilib sudo snap install valgrind --classic python -m pip install --upgrade pip pip install coincurve - name: Build dependencies run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./build.sh - name: Configure all run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all mkdir -p build && cd build cmake .. - name: Build all run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd build make -j$(nproc) @@ -111,9 +111,8 @@ jobs: - name: Install packages run: | sudo apt-get update - sudo apt-get install -y gcc-9 g++-9 gawk sed shtool \ - libffi-dev yasm texinfo flex bison \ - python3.6 lcov gcc-multilib + sudo apt-get install -y gcc-11 g++-11 gawk sed shtool \ + libffi-dev yasm texinfo python3.6 lcov gcc-multilib sudo apt-get update -qq sudo apt-get install -y python3-pip pip3 install --upgrade pip @@ -128,8 +127,8 @@ jobs: - name: Build dependencies run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./build.sh WITH_EMSCRIPTEN=1 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6df9f53c..340855a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,45 +32,45 @@ jobs: - name: Install packages run: | sudo apt-get install -y software-properties-common - sudo apt-get install -y gcc-9 g++-9 - - name: use g++-9 by default + sudo apt-get install -y gcc-11 1g++-11 + - name: use g++-11 by default run: | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11 - name: Install more packages run: | sudo apt-get update - sudo apt-get install -y clang-format-6.0 gawk sed shtool \ - libffi-dev yasm texinfo flex bison libgnutls28-dev gcc-multilib + sudo apt-get install -y gawk sed shtool \ + libffi-dev yasm texinfo libgnutls28-dev gcc-multilib - name: Build dependencies run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./build.sh - name: Configure run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all mkdir -p build && cd build cmake .. - name: Build run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd build make -j$(nproc) - name: Build dependencies wasm run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./clean.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9be679ee..e377ddc6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,20 +27,20 @@ jobs: - name: install packages run: | sudo apt-get install -y software-properties-common - sudo apt-get install -y gcc-9 g++-9 - - name: Use g++-9 and gcov-9 by default + sudo apt-get install -y gcc-11 g++-11 + - name: Use g++-11 and gcov-11 by default run: > echo "Updating all needed alternatives" - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11 - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-9 9 + sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-11 11 - sudo update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-9 9 + sudo update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-11 11 - sudo update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-9 9 + sudo update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-11 11 echo "Checking alternative for gcc" @@ -77,7 +77,7 @@ jobs: run: > sudo apt-get update - sudo apt-get install -y gcc-9 g++-9 gawk sed shtool \ + sudo apt-get install -y gawk sed shtool \ libffi-dev yasm texinfo libgnutls28-dev python3 gcc-multilib git sudo apt-get update -qq @@ -123,23 +123,23 @@ jobs: lcov --version - name: Build dependencies run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./build.sh - name: Configure all run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all CMAKE_BUILD_FLAGS="-DCOVERAGE=ON" mkdir -p build && cd build cmake $CMAKE_BUILD_FLAGS .. - name: Build all run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all CMAKE_BUILD_FLAGS="-DCOVERAGE=ON" cd build @@ -231,7 +231,7 @@ jobs: - name: Install packages run: | sudo apt-get update - sudo apt-get install -y gcc-9 g++-9 gawk sed shtool libffi-dev yasm texinfo python3 gcc-multilib + sudo apt-get install -y gcc-11 g++-11 gawk sed shtool libffi-dev yasm texinfo python3 gcc-multilib sudo apt-get update -qq sudo apt-get install -y python3-pip pip3 install --upgrade pip @@ -244,8 +244,8 @@ jobs: node-version: ${{ matrix.node-version }} - name: Build dependencies run: | - export CC=gcc-9 - export CXX=g++-9 + export CC=gcc-11 + export CXX=g++-11 export TARGET=all cd deps ./build.sh WITH_EMSCRIPTEN=1 diff --git a/README.md b/README.md index 8bef5237..6a6d5a91 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ cd .. ## Building from source on Mac ```shell -brew install flex bison libtool automake cmake pkg-config yasm +brew install libtool automake cmake pkg-config yasm # Configure the project and create a build directory. cmake -H. -Bbuild From 3ad8dc8e6545c22b739832c24b820a03ef7e279d Mon Sep 17 00:00:00 2001 From: Oleh Date: Fri, 15 Nov 2024 11:06:42 +0100 Subject: [PATCH 8/8] fix typo --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 340855a8..4608d984 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: - name: Install packages run: | sudo apt-get install -y software-properties-common - sudo apt-get install -y gcc-11 1g++-11 + sudo apt-get install -y gcc-11 g++-11 - name: use g++-11 by default run: | sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11