forked from flintlib/flint
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 1.11 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on: [push, pull_request]
jobs:
##############################################################################
# macos (x86) with clang and blas
##############################################################################
macos-x86:
name: macOS-x86 Clang with BLAS (x2)
runs-on: macos-12
env:
FLINT_TEST_MULTIPLIER: "2"
steps:
- name: "Setup"
run: |
brew install make
brew install autoconf
brew install libtool
brew install automake
$(brew --prefix llvm@15)/bin/clang --version
gmake --version
autoconf --version
echo "MAKE=gmake -j$(expr $(nproc) + 1) -l 10 --output-sync=target" >> $GITHUB_ENV
- name: "Bla"
run: |
git clone --depth=1 https://github.com/alisw/GMP.git
cd GMP
cp mpn/x86_64/coreihwl/sqr_basecase.asm mpn/x86_64/coreisbr/sqr_basecase.asm
sed -i '' '/rm -f/d' mpn/m4-ccas
./configure \
CC=$(brew --prefix llvm@15)/bin/clang \
--disable-static
$MAKE
cat mpn/tmp-sqr_basecase.s