.gitlab-ci.yml 706 Bytes
Newer Older
Martin Perdacher's avatar
Martin Perdacher committed
1
before_script:
Martin Perdacher's avatar
Martin Perdacher committed
2
 - apt-get update --yes
Martin Perdacher's avatar
Martin Perdacher committed
3
 - apt-get install --yes wget gnupg gnupg2 apt-transport-https
Martin Perdacher's avatar
Martin Perdacher committed
4
 # add intel-mkl repository
Martin Perdacher's avatar
Martin Perdacher committed
5 6
 - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
 - apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
Martin Perdacher's avatar
Martin Perdacher committed
7
 - sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
Martin Perdacher's avatar
Martin Perdacher committed
8
 - apt-get update --yes
Martin Perdacher's avatar
Martin Perdacher committed
9
 - apt-get install --yes cmake build-essential libboost-all-dev intel-mkl-2019.3-062
Martin Perdacher's avatar
Martin Perdacher committed
10
 - source /opt/intel/mkl/bin/mklvars.sh intel64
Martin Perdacher's avatar
Martin Perdacher committed
11

Martin Perdacher's avatar
Martin Perdacher committed
12
build:
Martin Perdacher's avatar
Martin Perdacher committed
13 14
  tags:
    - hilbert
Martin Perdacher's avatar
Martin Perdacher committed
15
    - blas
Martin Perdacher's avatar
Martin Perdacher committed
16 17 18 19
  script:
    - cd cmake
    - mkdir -p build
    - cd build
Martin Perdacher's avatar
Martin Perdacher committed
20 21
    - export CXX=icpic
    - export CC=icc
Martin Perdacher's avatar
Martin Perdacher committed
22 23
    - cmake ..
    - make -j