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

bench against libb2 #458

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Disable libb2 on 32-bit platforms
  • Loading branch information
R1kM committed Jun 18, 2024
commit c5ed38118294acb02350fa7962e6898d161aa203
3 changes: 2 additions & 1 deletion .github/actions/mach_benchmark/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ runs:
- run: |
echo "BITS_FLAG=-m32" >> $GITHUB_ENV
echo "OPENSSL_FLAG=--no-openssl" >> $GITHUB_ENV
echo "LIBB2_FLAG=--no-libb2" >> $GITHUB_ENV
shell: bash
if: ${{ inputs.bits == '32' }}
- run: echo "BITS_FLAG=" > $GITHUB_ENV
Expand Down Expand Up @@ -54,4 +55,4 @@ runs:
shell: bash
run: |
echo OPENSSL_HOME = $OPENSSL_HOME
./mach build -v $BENCHMARK_COMMAND --release $BITS_FLAG $EDITION_FLAG $TARGET_FLAG $OPENSSL_FLAG ${{ inputs.args }}
./mach build -v $BENCHMARK_COMMAND --release $BITS_FLAG $EDITION_FLAG $TARGET_FLAG $OPENSSL_FLAG $LIBB2_FLAG ${{ inputs.args }}
3 changes: 2 additions & 1 deletion .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Setup | Install multilib libraries
if: ${{ matrix.bits == 32 }}
run: sudo apt-get install gcc-multilib g++-multilib libc6-i386
run: sudo apt-get install gcc-multilib g++-multilib

- name: Setup GCC
if: ${{ matrix.compiler == 'gcc' }}
Expand All @@ -54,6 +54,7 @@ jobs:
echo "CXX=clang++" >> $GITHUB_ENV

- name: Setup libb2
if: ${{ matrix.bits == 64 }}
run: sudo apt-get install libb2-dev

- name: Checkout
Expand Down
Loading