File: scotch.install

package info (click to toggle)
scotch 6.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 20,872 kB
  • sloc: ansic: 80,043; makefile: 4,039; fortran: 2,536; yacc: 622; lex: 267; sh: 180
file content (11 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# separate scotch from ptscotch binaries
SCOTCH_BINARIES=$( for b in int/bin/*; do if ! grep -q ptscotch $b; then echo `basename $b`; fi; done )

for file in $SCOTCH_BINARIES; do
  echo int/bin/${file} /usr/bin
  echo int32/bin/${file}-int32 /usr/bin
  echo int64/bin/${file}-int64 /usr/bin
  echo long/bin/${file}-long /usr/bin
done