.gitlab-ci.yml 671 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 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
 - echo $MKLROOT
Martin Perdacher's avatar
Martin Perdacher committed
12

Martin Perdacher's avatar
Martin Perdacher committed
13 14 15 16 17
build:
  script:
    - cd cmake
    - mkdir -p build
    - cd build
Martin Perdacher's avatar
Martin Perdacher committed
18 19
    - export CXX=g++
    - export CC=gcc
Martin Perdacher's avatar
Martin Perdacher committed
20 21
    - cmake ..
    - make -j