Sit class file for pgi 13.2.
This commit is contained in:
parent
c937a952ae
commit
44aefa4cd3
1 changed files with 76 additions and 0 deletions
76
packages/compiler/pgi/pgi-13.2
Executable file
76
packages/compiler/pgi/pgi-13.2
Executable file
|
@ -0,0 +1,76 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
|
||||
#
|
||||
|
||||
CATEGORY="compiler"
|
||||
PACKAGE="pgi"
|
||||
VERSION="13.2"
|
||||
URL=""
|
||||
INSTALLER=""
|
||||
|
||||
# Archive A and package name P
|
||||
A=pgilinux-2013-${VERSION/\./}.tar.gz
|
||||
P=
|
||||
|
||||
BUILDDIR=$SRCDIR
|
||||
|
||||
src_build(){
|
||||
expect - "$SRCDIR" <<EOF
|
||||
spawn ./install
|
||||
#set iid "\$spawn_id"
|
||||
set timeout -1
|
||||
send "q"
|
||||
expect "\(accept,decline\)"
|
||||
send "accept\r"
|
||||
expect "Please choose install option:"
|
||||
send "1\r"
|
||||
expect "Installation directory\? "
|
||||
send "$PREFIX\r"
|
||||
expect "Install the ACML\? \(y/n\)"
|
||||
send "y\r"
|
||||
send "q"
|
||||
expect "\(accept,decline\)"
|
||||
send "accept\r"
|
||||
expect "This PGI version links with ACML * by default. Also available:"
|
||||
send "1\r"
|
||||
expect "Install CUDA Toolkit Components\? \(y/n\)"
|
||||
send "y\r"
|
||||
#send "q"
|
||||
#expect "\(accept,decline\)"
|
||||
#send "accept\r"
|
||||
#expect "Install OpenACC compilers\? \(y/n\)"
|
||||
#send "y\r"
|
||||
send "q"
|
||||
expect "\(accept,decline\)"
|
||||
send "accept\r"
|
||||
# expect {
|
||||
# -re "Install JAVA JRE 6.* \[yes\] " {puts "y\r"}
|
||||
# timeout abort
|
||||
# }
|
||||
expect {
|
||||
-re "Install JAVA JRE.*" {
|
||||
puts "y\r"
|
||||
send "q\r"
|
||||
#expect "\(accept,decline\)"
|
||||
#send "accept\r"
|
||||
}
|
||||
-re "Overwrite the installed JAVA JRE.*" {
|
||||
send "no\r"
|
||||
}
|
||||
}
|
||||
expect "Do you wish to update/create links in the 20* directory\? \(y/n\)"
|
||||
send "y\r"
|
||||
expect "Do you wish to install MPICH1\? \(y/n\)"
|
||||
send "y\r"
|
||||
expect "Remote execution method\? \(rsh,ssh\)"
|
||||
send "ssh\r"
|
||||
expect "Do you wish to generate license keys\? \(y/n\)"
|
||||
send "n\r"
|
||||
expect "Do you want the files in the install directory to be read-only\? \(y/n\)"
|
||||
send "n\r"
|
||||
expect eof
|
||||
#wait \$spawn_id
|
||||
EOF
|
||||
}
|
Loading…
Reference in a new issue