From fb1a63dddff6cf7059ef88e7b082c10c744ed2cd Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Fri, 23 Jun 2023 09:44:48 -0400 Subject: [PATCH] upload all zip files --- .github/workflows/run_test.yml | 2 +- src/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 40818f9..28a4dc2 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -221,5 +221,5 @@ jobs: server: ${{ secrets.MCX_SERVER }} username: ${{ secrets.MCX_SERVER_USER }} ssh_private_key: ${{ secrets.MCX_SERVER_SSH_KEY }} - local_path: "packages/zmat-allinone-github-latest.zip" + local_path: "packages/*" remote_path: ${{ secrets.MCX_CI_PATH }} diff --git a/src/Makefile b/src/Makefile index c3f1545..bbb33a5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -154,7 +154,7 @@ oct: LINKOPT+=--mex $(INCLUDEDIRS) mex: CXX=$(MEX) mex: OUTPUTFLAG:=-output mex: AR=$(MEX) zmat.cpp $(INCLUDEDIRS) -mex: LINKOPT+= -cxx CXXLIBS="$$CXXLIBS $(LIBZLIB) -static-libstdc++" -outdir $(ZMATDIR) +mex: LINKOPT+= -cxx LDFLAGS="-L$$TMW_ROOT$$MATLABROOT/sys/os/$$ARCH $$LDFLAGS $(MEXLINKOPT) $(LIBZLIB) -static-libgcc -static-libstdc++" -outdir $(ZMATDIR) mex: ARFLAGS := mex: OUTPUT_DIR=..