Skip to content

Commit

Permalink
disable disable upx and add -O3 on linux to see if 20.04 works
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 22, 2023
1 parent f3c13d7 commit 3c51597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
ldd zipmat.mex
fi
strip -S zipmat.mex
upx -9 zipmat.mex || true
#upx -9 zipmat.mex || true
- name: Run octave test
if: ${{ matrix.os != 'ubuntu-20.04'}}
run: |
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
sudo mv upx-4.1.0-amd64_linux/upx /usr/bin || true
rm -rf upx-4.1.0-amd64_linux upx.tar.xz || true
fi
[[ "$RUNNER_OS" == "macOS" ]] && brew install --build-from-source upx
[[ "$RUNNER_OS" == "macOS" ]] && brew install upx
[[ "$RUNNER_OS" == "Windows" ]] && choco install upx
echo "installed upx"
- name: Set up MATLAB
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ PLATFORM = $(shell uname -s)
DLLFLAG=-fPIC
OMP=-fopenmp

CPPOPT=-g -Wall -fPIC # -O3 -g -Wall -std=c99 # -DUSE_OS_TIMER
CPPOPT=-g -Wall -O3 -fPIC # -g -Wall -std=c99 # -DUSE_OS_TIMER

OUTPUTFLAG:=-o
OBJSUFFIX=.o
Expand Down

0 comments on commit 3c51597

Please sign in to comment.