From 1bda58d4e983143a7b3fd9e3ae85d35aa0c9dde3 Mon Sep 17 00:00:00 2001 From: juliannguyen4 <109386615+juliannguyen4@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:51:05 -0700 Subject: [PATCH] Use O0 instead of Og because of optimized out vars --- .github/workflows/build-wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 097da9989..27001cef7 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -176,7 +176,7 @@ jobs: working-directory: test - name: Set debug flags - run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV + run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV if: ${{ inputs.optimized-or-debug == 'debug' }} - name: Set optimized flags @@ -245,7 +245,7 @@ jobs: working-directory: test - name: Set debug flags - run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV + run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV if: ${{ inputs.optimized-or-debug == 'debug' }} - name: Set optimized flags @@ -283,7 +283,7 @@ jobs: submodules: recursive - name: Set debug flags - run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV + run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV if: ${{ inputs.optimized-or-debug == 'debug' }} - name: Set optimized flags