File tree Expand file tree Collapse file tree 2 files changed +56
-1
lines changed
Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,61 @@ jobs:
129129 name : ${{ matrix.os }}_${{ matrix.cc }}_singlethreaded_mlucas
130130 path : ${{ github.workspace }}
131131
132+ Linux-old :
133+ name : Mlucas Linux old
134+
135+ runs-on : ${{ matrix.os }}
136+ container : ${{ matrix.container }}
137+ strategy :
138+ matrix :
139+ os : [ubuntu-latest, ubuntu-24.04-arm]
140+ container : ["ubuntu:14.04"]
141+ cc : [gcc, clang]
142+ fail-fast : false
143+ env :
144+ CC : ${{ matrix.cc }}
145+ steps :
146+ # - uses: actions/checkout@v5
147+ - name : Install
148+ run : |
149+ apt-get update
150+ apt-get install -y wget build-essential libgmp-dev libhwloc-dev
151+ - name : Install Clang
152+ if : ${{ matrix.cc == 'clang' }}
153+ run : |
154+ apt-get install -y clang
155+ - name : Download
156+ run : |
157+ wget "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/archive/$GITHUB_SHA.tar.gz"
158+ tar -xzvf "$GITHUB_SHA.tar.gz" --strip-components=1
159+ - name : Before script
160+ run : |
161+ $CC --version
162+ - name : Script
163+ shell : bash
164+ run : |
165+ set -x
166+ MODES=( '' NOSIMD )
167+ if [[ $HOSTTYPE == aarch64 ]]; then
168+ MODES+=( ASIMD )
169+ else
170+ MODES+=( SSE2 AVX AVX2 AVX512 )
171+ fi
172+ for mode in "${MODES[@]}"; do
173+ echo -e "\n$mode\n"
174+ bash -e -o pipefail -- makemake.sh use_hwloc $mode
175+ (cd obj${mode:+_$mode}; make clean)
176+ for word in '' 1word 2word 3word 4word nword; do
177+ echo -e "\nMfactor $word\n"
178+ bash -e -o pipefail -- makemake.sh mfac $word $mode || true
179+ (
180+ cd obj_mfac${mode:+_$mode}
181+ make clean
182+ mv -v build.log build_${word}.log
183+ )
184+ done
185+ done
186+
132187 ASan-Linux :
133188 name : AddressSanitizer Linux
134189
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ elif ! command -v gcc >/dev/null; then
9090fi
9191
9292if [[ ! $OSTYPE == darwin* ]]; then
93- MAKE_ARGS+=(-O)
93+ # MAKE_ARGS+=(-O)
9494 LD_ARGS+=(-lm -lpthread)
9595 if [[ $OSTYPE != msys && $OSTYPE != cygwin ]]; then
9696 LD_ARGS+=(-lrt)
You can’t perform that action at this time.
0 commit comments