File: install.sh

package info (click to toggle)
avogadrolibs 1.101.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,500 kB
  • sloc: cpp: 139,792; ansic: 2,212; python: 1,435; perl: 321; sh: 90; makefile: 46
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -ev

if [[ $RUNNER_OS == "Windows" ]]; then
    git clone --recursive -b 3.4.0 --depth 1 https://gitlab.com/libeigen/eigen /c/eigen
    cd /c/eigen
      mkdir build
      cd build
        cmake .. -DCMAKE_INSTALL_PREFIX=/c/eigen-34
        cmake --build . --target install 
elif [[ $RUNNER_OS == "macOS" ]]; then
    brew install eigen
else
    ls -la
fi