forked from pool/opa-ff
Accepting request 436354 from SUSE:SLE-12-SP2:GA
OBS-URL: https://build.opensuse.org/request/show/436354 OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-ff?expand=0&rev=1
This commit is contained in:
commit
85b29baaf3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
451
0001-Add-shebang-for-exp-files.patch
Normal file
451
0001-Add-shebang-for-exp-files.patch
Normal file
@ -0,0 +1,451 @@
|
||||
From 813223d5a286bd4c87c89d3a496b0e1dadca8ce8 Mon Sep 17 00:00:00 2001
|
||||
From: Nirmoy Das <ndas@suse.de>
|
||||
Date: Fri, 15 Apr 2016 12:56:30 +0200
|
||||
Subject: [PATCH] Add shebang for exp files
|
||||
|
||||
---
|
||||
IbaTools/FastFabric/chassis_configure.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_fmconfig.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_fmcontrol.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_fmgetconfig.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_fmsecurityfiles.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_getconfig.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_reboot.exp | 1 +
|
||||
IbaTools/FastFabric/chassis_upgrade.exp | 1 +
|
||||
IbaTools/FastFabric/configipoib.exp | 1 +
|
||||
IbaTools/FastFabric/ff_function.exp | 1 +
|
||||
IbaTools/FastFabric/ipoibping.exp | 1 +
|
||||
IbaTools/FastFabric/load.exp | 1 +
|
||||
IbaTools/FastFabric/mpiperf.exp | 1 +
|
||||
IbaTools/FastFabric/mpiperfdeviation.exp | 1 +
|
||||
IbaTools/FastFabric/reboot.exp | 1 +
|
||||
IbaTools/FastFabric/sacache.exp | 1 +
|
||||
IbaTools/FastFabric/switch_capture.exp | 1 +
|
||||
IbaTools/FastFabric/switch_configure.exp | 1 +
|
||||
IbaTools/FastFabric/switch_dump.exp | 1 +
|
||||
IbaTools/FastFabric/switch_fwverify.exp | 1 +
|
||||
IbaTools/FastFabric/switch_getconfig.exp | 1 +
|
||||
IbaTools/FastFabric/switch_hwvpd.exp | 1 +
|
||||
IbaTools/FastFabric/switch_info.exp | 1 +
|
||||
IbaTools/FastFabric/switch_ping.exp | 1 +
|
||||
IbaTools/FastFabric/switch_reboot.exp | 1 +
|
||||
IbaTools/FastFabric/switch_upgrade.exp | 1 +
|
||||
IbaTools/FastFabric/upgrade.exp | 1 +
|
||||
TestTools/basic.exp | 1 +
|
||||
TestTools/chassis.exp | 1 +
|
||||
TestTools/common_funcs.exp | 1 +
|
||||
TestTools/defs.exp | 1 +
|
||||
TestTools/extmng.exp | 1 +
|
||||
TestTools/ib.exp | 1 +
|
||||
TestTools/ibtools.exp | 1 +
|
||||
TestTools/install.exp | 1 +
|
||||
TestTools/mpi.exp | 1 +
|
||||
TestTools/network.exp | 1 +
|
||||
TestTools/opa_to_xml.exp | 1 +
|
||||
TestTools/proc_mgr.exp | 1 +
|
||||
TestTools/sm_control.exp | 1 +
|
||||
TestTools/switch_methods.exp | 1 +
|
||||
TestTools/target.exp | 1 +
|
||||
TestTools/tools.exp | 1 +
|
||||
44 files changed, 44 insertions(+)
|
||||
|
||||
diff --git a/IbaTools/FastFabric/chassis_configure.exp b/IbaTools/FastFabric/chassis_configure.exp
|
||||
index 792369b..d41c468 100644
|
||||
--- a/IbaTools/FastFabric/chassis_configure.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_configure.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_fmconfig.exp b/IbaTools/FastFabric/chassis_fmconfig.exp
|
||||
index b0613ad..d037ffc 100755
|
||||
--- a/IbaTools/FastFabric/chassis_fmconfig.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_fmconfig.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_fmcontrol.exp b/IbaTools/FastFabric/chassis_fmcontrol.exp
|
||||
index a603f7b..52938e5 100755
|
||||
--- a/IbaTools/FastFabric/chassis_fmcontrol.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_fmcontrol.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_fmgetconfig.exp b/IbaTools/FastFabric/chassis_fmgetconfig.exp
|
||||
index b3582d4..d6e4d08 100755
|
||||
--- a/IbaTools/FastFabric/chassis_fmgetconfig.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_fmgetconfig.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp b/IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
|
||||
index 2630046..56a9d96 100755
|
||||
--- a/IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_fmsecurityfiles.exp b/IbaTools/FastFabric/chassis_fmsecurityfiles.exp
|
||||
index 3bbe788..70702f8 100755
|
||||
--- a/IbaTools/FastFabric/chassis_fmsecurityfiles.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_fmsecurityfiles.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_getconfig.exp b/IbaTools/FastFabric/chassis_getconfig.exp
|
||||
index c1f4bcc..177be66 100644
|
||||
--- a/IbaTools/FastFabric/chassis_getconfig.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_getconfig.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_reboot.exp b/IbaTools/FastFabric/chassis_reboot.exp
|
||||
index e746eb2..d76dadb 100755
|
||||
--- a/IbaTools/FastFabric/chassis_reboot.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_reboot.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/chassis_upgrade.exp b/IbaTools/FastFabric/chassis_upgrade.exp
|
||||
index 2ed1cad..275dd07 100755
|
||||
--- a/IbaTools/FastFabric/chassis_upgrade.exp
|
||||
+++ b/IbaTools/FastFabric/chassis_upgrade.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/configipoib.exp b/IbaTools/FastFabric/configipoib.exp
|
||||
index 40c91c8..f1e465b 100755
|
||||
--- a/IbaTools/FastFabric/configipoib.exp
|
||||
+++ b/IbaTools/FastFabric/configipoib.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/ff_function.exp b/IbaTools/FastFabric/ff_function.exp
|
||||
index 94e39dc..1ebd07f 100755
|
||||
--- a/IbaTools/FastFabric/ff_function.exp
|
||||
+++ b/IbaTools/FastFabric/ff_function.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/ipoibping.exp b/IbaTools/FastFabric/ipoibping.exp
|
||||
index ec1806f..99128d4 100755
|
||||
--- a/IbaTools/FastFabric/ipoibping.exp
|
||||
+++ b/IbaTools/FastFabric/ipoibping.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/load.exp b/IbaTools/FastFabric/load.exp
|
||||
index 22d264c..cb2de07 100755
|
||||
--- a/IbaTools/FastFabric/load.exp
|
||||
+++ b/IbaTools/FastFabric/load.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/mpiperf.exp b/IbaTools/FastFabric/mpiperf.exp
|
||||
index 2138757..022285f 100755
|
||||
--- a/IbaTools/FastFabric/mpiperf.exp
|
||||
+++ b/IbaTools/FastFabric/mpiperf.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/mpiperfdeviation.exp b/IbaTools/FastFabric/mpiperfdeviation.exp
|
||||
index f09c161..478c71a 100755
|
||||
--- a/IbaTools/FastFabric/mpiperfdeviation.exp
|
||||
+++ b/IbaTools/FastFabric/mpiperfdeviation.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/reboot.exp b/IbaTools/FastFabric/reboot.exp
|
||||
index 497e5fd..584ad88 100755
|
||||
--- a/IbaTools/FastFabric/reboot.exp
|
||||
+++ b/IbaTools/FastFabric/reboot.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/sacache.exp b/IbaTools/FastFabric/sacache.exp
|
||||
index 93f1a35..02e5d57 100755
|
||||
--- a/IbaTools/FastFabric/sacache.exp
|
||||
+++ b/IbaTools/FastFabric/sacache.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/switch_capture.exp b/IbaTools/FastFabric/switch_capture.exp
|
||||
index dad55dd..5a8c851 100755
|
||||
--- a/IbaTools/FastFabric/switch_capture.exp
|
||||
+++ b/IbaTools/FastFabric/switch_capture.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/switch_configure.exp b/IbaTools/FastFabric/switch_configure.exp
|
||||
index c514da7..5bb9459 100644
|
||||
--- a/IbaTools/FastFabric/switch_configure.exp
|
||||
+++ b/IbaTools/FastFabric/switch_configure.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/switch_dump.exp b/IbaTools/FastFabric/switch_dump.exp
|
||||
index d62e1df..7b9c87a 100755
|
||||
--- a/IbaTools/FastFabric/switch_dump.exp
|
||||
+++ b/IbaTools/FastFabric/switch_dump.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/switch_fwverify.exp b/IbaTools/FastFabric/switch_fwverify.exp
|
||||
index 6cec599..8c3ff70 100755
|
||||
--- a/IbaTools/FastFabric/switch_fwverify.exp
|
||||
+++ b/IbaTools/FastFabric/switch_fwverify.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
diff --git a/IbaTools/FastFabric/switch_getconfig.exp b/IbaTools/FastFabric/switch_getconfig.exp
|
||||
index c357f1d..9be571d 100755
|
||||
--- a/IbaTools/FastFabric/switch_getconfig.exp
|
||||
+++ b/IbaTools/FastFabric/switch_getconfig.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
diff --git a/IbaTools/FastFabric/switch_hwvpd.exp b/IbaTools/FastFabric/switch_hwvpd.exp
|
||||
index 354308f..11c97a3 100755
|
||||
--- a/IbaTools/FastFabric/switch_hwvpd.exp
|
||||
+++ b/IbaTools/FastFabric/switch_hwvpd.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
diff --git a/IbaTools/FastFabric/switch_info.exp b/IbaTools/FastFabric/switch_info.exp
|
||||
index f339521..d0697fc 100755
|
||||
--- a/IbaTools/FastFabric/switch_info.exp
|
||||
+++ b/IbaTools/FastFabric/switch_info.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
diff --git a/IbaTools/FastFabric/switch_ping.exp b/IbaTools/FastFabric/switch_ping.exp
|
||||
index 3c812e6..8b69ff3 100755
|
||||
--- a/IbaTools/FastFabric/switch_ping.exp
|
||||
+++ b/IbaTools/FastFabric/switch_ping.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
diff --git a/IbaTools/FastFabric/switch_reboot.exp b/IbaTools/FastFabric/switch_reboot.exp
|
||||
index be07360..1025b18 100755
|
||||
--- a/IbaTools/FastFabric/switch_reboot.exp
|
||||
+++ b/IbaTools/FastFabric/switch_reboot.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/switch_upgrade.exp b/IbaTools/FastFabric/switch_upgrade.exp
|
||||
index 1355251..109d447 100755
|
||||
--- a/IbaTools/FastFabric/switch_upgrade.exp
|
||||
+++ b/IbaTools/FastFabric/switch_upgrade.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/IbaTools/FastFabric/upgrade.exp b/IbaTools/FastFabric/upgrade.exp
|
||||
index 9da4431..afd674b 100755
|
||||
--- a/IbaTools/FastFabric/upgrade.exp
|
||||
+++ b/IbaTools/FastFabric/upgrade.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/basic.exp b/TestTools/basic.exp
|
||||
index 6010991..49afb67 100755
|
||||
--- a/TestTools/basic.exp
|
||||
+++ b/TestTools/basic.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/chassis.exp b/TestTools/chassis.exp
|
||||
index 65821d2..670e8f4 100755
|
||||
--- a/TestTools/chassis.exp
|
||||
+++ b/TestTools/chassis.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/common_funcs.exp b/TestTools/common_funcs.exp
|
||||
index 68d55d8..39bce9a 100644
|
||||
--- a/TestTools/common_funcs.exp
|
||||
+++ b/TestTools/common_funcs.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/defs.exp b/TestTools/defs.exp
|
||||
index 3d3fd07..f4bf97f 100644
|
||||
--- a/TestTools/defs.exp
|
||||
+++ b/TestTools/defs.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/extmng.exp b/TestTools/extmng.exp
|
||||
index 9b9e94e..77c8591 100755
|
||||
--- a/TestTools/extmng.exp
|
||||
+++ b/TestTools/extmng.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/ib.exp b/TestTools/ib.exp
|
||||
index 06c4a6e..45b6309 100755
|
||||
--- a/TestTools/ib.exp
|
||||
+++ b/TestTools/ib.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/ibtools.exp b/TestTools/ibtools.exp
|
||||
index 2c16b3f..213fc0f 100644
|
||||
--- a/TestTools/ibtools.exp
|
||||
+++ b/TestTools/ibtools.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/install.exp b/TestTools/install.exp
|
||||
index 0a440cd..815e954 100755
|
||||
--- a/TestTools/install.exp
|
||||
+++ b/TestTools/install.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/mpi.exp b/TestTools/mpi.exp
|
||||
index 3d7fe8d..4687775 100755
|
||||
--- a/TestTools/mpi.exp
|
||||
+++ b/TestTools/mpi.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/network.exp b/TestTools/network.exp
|
||||
index 347754e..16939e7 100755
|
||||
--- a/TestTools/network.exp
|
||||
+++ b/TestTools/network.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/opa_to_xml.exp b/TestTools/opa_to_xml.exp
|
||||
index 62d28a4..2418b64 100644
|
||||
--- a/TestTools/opa_to_xml.exp
|
||||
+++ b/TestTools/opa_to_xml.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/proc_mgr.exp b/TestTools/proc_mgr.exp
|
||||
index aa73849..4b33827 100755
|
||||
--- a/TestTools/proc_mgr.exp
|
||||
+++ b/TestTools/proc_mgr.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/sm_control.exp b/TestTools/sm_control.exp
|
||||
index 8793b0e..3aca630 100755
|
||||
--- a/TestTools/sm_control.exp
|
||||
+++ b/TestTools/sm_control.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/switch_methods.exp b/TestTools/switch_methods.exp
|
||||
index 9f13773..6f0d730 100644
|
||||
--- a/TestTools/switch_methods.exp
|
||||
+++ b/TestTools/switch_methods.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/target.exp b/TestTools/target.exp
|
||||
index a35bcd5..4fe0e24 100755
|
||||
--- a/TestTools/target.exp
|
||||
+++ b/TestTools/target.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
diff --git a/TestTools/tools.exp b/TestTools/tools.exp
|
||||
index 06c5ec9..ea7cfa4 100755
|
||||
--- a/TestTools/tools.exp
|
||||
+++ b/TestTools/tools.exp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env expect
|
||||
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
||||
#
|
||||
# Copyright (c) 2015, Intel Corporation
|
||||
--
|
||||
2.6.2
|
||||
|
10
opa-ff.changes
Normal file
10
opa-ff.changes
Normal file
@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 20:46:16 CEST 2016 - ndas@suse.de
|
||||
|
||||
- create sym link only if /etc/sysconfig/opa dir doesn't exist (bsc#989135).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 11:06:22 UTC 2016 - ndas@suse.de
|
||||
|
||||
- Initial package for fate#319232
|
||||
|
1
opa-ff.rpmlintrc
Normal file
1
opa-ff.rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
addFilter("suse-filelist-forbidden-sysconfig")
|
340
opa-ff.spec
Normal file
340
opa-ff.spec
Normal file
@ -0,0 +1,340 @@
|
||||
#
|
||||
# spec file for package opa-ff
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define pseudo_opt %{_prefix}/lib/opa-ff/
|
||||
%define opasysconfdir %{_sysconfdir}/opa/sysconfig
|
||||
Name: opa-ff
|
||||
Version: 10.0.0.0
|
||||
Release: 0
|
||||
Summary: Intel Omni-Path basic tools and libraries for fabric managment
|
||||
License: BSD-3-Clause or GPL-2.0
|
||||
Group: System/Libraries
|
||||
Url: http://www.intel.com/
|
||||
Source: opa-ff.tar.gz
|
||||
Source1: opa-ff.rpmlintrc
|
||||
Patch1: opa-ff_fix_suse_build_issue.patch
|
||||
Patch2: 0001-Add-shebang-for-exp-files.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ibacm-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libexpat1
|
||||
BuildRequires: libibmad-devel
|
||||
BuildRequires: libibmad5
|
||||
BuildRequires: libibumad-devel
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: libibverbs1
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#Currently ONLY builds on x86_64
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
The %{name} contains basic tools and libraries for Intel Omni-Path fabric management applications. This
|
||||
includes: the opa-fastfabric opa-basic-tools, opa-address-resolution-devel
|
||||
|
||||
%package -n opa-basic-tools
|
||||
Summary: Managment level tools and scripts
|
||||
Group: System/Libraries
|
||||
Requires: rdma
|
||||
AutoReq: no
|
||||
|
||||
%description -n opa-basic-tools
|
||||
Contains basic tools for fabric managment necessary on all compute nodes.
|
||||
|
||||
%package -n opa-fastfabric
|
||||
Summary: Management level tools and scripts
|
||||
Group: System/Libraries
|
||||
Requires: opa-basic-tools
|
||||
AutoReq: no
|
||||
%if 0%{?rhel}
|
||||
Requires: atlas
|
||||
%endif
|
||||
|
||||
%description -n opa-fastfabric
|
||||
Contains tools for managing fabric on a managment node.
|
||||
|
||||
%package -n opa-address-resolution-devel
|
||||
Summary: Contains Address Resolution manager
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: opa-basic-tools
|
||||
AutoReq: no
|
||||
|
||||
%description -n opa-address-resolution-devel
|
||||
This is to be filled out more concisely later.
|
||||
|
||||
%prep
|
||||
%setup -q -n opa-ff
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS
|
||||
if [ -d OpenIb_Host ]
|
||||
then
|
||||
cd OpenIb_Host && ./ff_build.sh %{_builddir} $FF_BUILD_ARGS
|
||||
else
|
||||
./ff_build.sh %{_builddir} $FF_BUILD_ARGS
|
||||
fi
|
||||
|
||||
%install
|
||||
%define basic_tools_sbin opacapture opagetvf opagetvf_env opahfirev opapacketcapture opaportinfo oparesolvehfiport opasaquery opashowmc opasmaquery opainfo fabric_info
|
||||
%define basic_tools_sbin_sym opapmaquery opaportconfig
|
||||
|
||||
%define basic_tools_opt setup_self_ssh usemem opaipcalc
|
||||
|
||||
%define basic_mans opacapture.1 opaconfig.1 opahfirev.1 opapmaquery.1 opaportconfig.1 opaportinfo.1 oparesolvehfiport.1 opasaquery.1 opashowmc.1 opasmaquery.1
|
||||
|
||||
%define ff_tools_opt opaswquery opaswconfigure opaswfwconfigure opaswfwupdate opaswfwverify opaswping opaswreset
|
||||
|
||||
%define ff_tools_exp basic.exp chassis.exp chassis_configure.exp chassis_fmconfig.exp chassis_fmcontrol.exp chassis_fmgetconfig.exp chassis_getconfig.exp chassis_reboot.exp chassis_fmgetsecurityfiles.exp chassis_fmsecurityfiles.exp chassis_upgrade.exp common_funcs.exp configipoib.exp extmng.exp ff_function.exp ib.exp opa_to_xml.exp ibtools.exp install.exp ipoibping.exp load.exp mpi.exp mpiperf.exp mpiperfdeviation.exp network.exp proc_mgr.exp reboot.exp sacache.exp sm_control.exp switch_capture.exp switch_configure.exp switch_dump.exp switch_fwverify.exp switch_getconfig.exp switch_hwvpd.exp switch_info.exp switch_ping.exp switch_reboot.exp switch_upgrade.exp target.exp tools.exp upgrade.exp tclIndex tcl_proc comm12 front
|
||||
|
||||
%define ff_tools_sbin opacabletest opacheckload opaextracterror opaextractlink opaextractperf opaextractstat opaextractstat2 opafindgood opafirmware opagenchassis opagenesmchassis opagenswitches opalinkanalysis opareport opareports opasorthosts opatop opaxlattopology opaxlattopology_cust opaxmlextract opaxmlfilter opaxmlgenerate opaxmlindent opaallanalysis opacaptureall opachassisanalysis opacmdall opadownloadall opaesmanalysis opafabricanalysis opafastfabric opahostsmanalysis opadisablehosts opadisableports opaenableports opaexpandfile opaextractbadlinks opaextractlids opaextractsellinks opaswdisableall opaverifyhosts opahostadmin opachassisadmin opaswitchadmin opapingall opascpall opasetupssh opashowallports opauploadall opapaquery opafequery opaswenableall
|
||||
#opashowmc
|
||||
%define ff_tools_misc ff_funcs opachassisip opagenswitcheshelper chassis_setup switch_setup opagetipaddrtype opafastfabric.conf.def
|
||||
|
||||
%define ff_tools_fm config_generate config_diff config_check config_convert
|
||||
|
||||
%define ff_libs_misc libqlgc_fork.so
|
||||
|
||||
%define ff_mans opaallanalysis.8 opacabletest.8 opacaptureall.8 opachassisadmin.8 opachassisanalysis.8 opacheckload.8 opacmdall.8 opadisablehosts.8 opadisableports.8 opadownloadall.8 opaenableports.8 opaesmanalysis.8 opaexpandfile.8 opaextractbadlinks.8 opaextracterror.8 opaextractlids.8 opaextractlink.8 opaextractperf.8 opaextractsellinks.8 opaextractstat.8 opaextractstat2.8 opafabricanalysis.8 opafastfabric.8 opafequery.8 opafindgood.8 opagenchassis.8 opagenesmchassis.8 opagenswitches.8 opagentopology.8 opahostadmin.8 opahostsmanalysis.8 opalinkanalysis.8 opapaquery.8 opapingall.8 opareport.8 opareports.8 opascpall.8 opasetupssh.8 opasorthosts.8 opaswitchadmin.8 opatop.8 opauploadall.8 opaverifyhosts.8 opaxlattopology.8 opaxlattopology_cust.8 opashowmc.8 opaxmlextract.8 opaxmlfilter.8 opaxmlgenerate.8 opaxmlindent.8 opashowallports.8 opaswdisableall.8 opaswenableall.8
|
||||
%define ff_iba_samples hostverify.sh opatopology_FIs.txt opatopology_links.txt opatopology_SMs.txt opatopology_SWs.txt linksum_swd06.csv linksum_swd24.csv README.topology README.xlat_topology topology_cust.xlsx topology.xlsx allhosts-sample chassis-sample hosts-sample switches-sample ports-sample opaff.xml-sample mac_to_dhcp filterFile.txt triggerFile.txt opamon.conf-sample opamon.si.conf-sample opafastfabric.conf-sample opa_ca_openssl.cnf-sample opa_comp_openssl.cnf-sample
|
||||
#opagentopology esm_chassis-sample
|
||||
|
||||
%define help_doc opatop_group_bw.hlp opatop_group_config.hlp opatop_group_err.hlp opatop_group_focus.hlp opatop_group_info_sel.hlp opatop_img_config.hlp opatop_pm_config.hlp opatop_port_stats.hlp opatop_summary.hlp opatop_vf_bw.hlp opatop_vf_info_sel.hlp opatop_vf_config.hlp
|
||||
|
||||
%define opasadb_bin opa_osd_dump opa_osd_exercise opa_osd_perf opa_osd_query
|
||||
|
||||
%define opasadb_header opasadb_path.h opasadb_route.h opasadb_route2.h
|
||||
|
||||
%define opasadb_mans opa_osd_dump.1 opa_osd_exercise.1 opa_osd_perf.1 opa_osd_query.1
|
||||
|
||||
%define shmem_apps_files Makefile mpi_hosts.sample prepare_run README select_mpi run_barrier run_get_bibw run_get_bw run_get_latency run_put_bibw run_put_bw run_put_latency run_reduce run_hello run_alltoall run_rand shmem-hello.c
|
||||
|
||||
%define release_string IntelOPA-Tools-FF.$BUILD_TARGET_OS_ID.$MODULEVERSION
|
||||
|
||||
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
#mkdir -p #{buildroot}/opt/opa/{tools,fm_tools,help,samples,src/mpi_apps,src/shmem_apps}
|
||||
mkdir -p %{buildroot}%{pseudo_opt}/{tools,fm_tools,help,samples,src/mpi_apps,src/shmem_apps}
|
||||
mkdir -p %{buildroot}%{_libdir}/ibacm
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rdma
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/opa
|
||||
mkdir -p %{buildroot}%{opasysconfdir}
|
||||
mkdir -p %{buildroot}%{_includedir}/infiniband
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
mkdir -p %{buildroot}%{_mandir}/man8
|
||||
mkdir -p %{buildroot}/opt
|
||||
ln -s %{pseudo_opt} %{buildroot}/opt/opa
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/opa
|
||||
|
||||
#Binaries and scripts installing (basic tools)
|
||||
#cd builtbin.OPENIB_FF.release
|
||||
cd $(cat %{_builddir}/RELEASE_PATH)
|
||||
|
||||
cd bin
|
||||
cp -t %{buildroot}%{_sbindir} %{basic_tools_sbin}
|
||||
cp -t %{buildroot}/%{pseudo_opt}/tools/ %{basic_tools_opt}
|
||||
ln -s ./opaportinfo %{buildroot}%{_sbindir}/opaportconfig
|
||||
ln -s ./opasmaquery %{buildroot}%{_sbindir}/opapmaquery
|
||||
|
||||
cd ../opasadb
|
||||
cp -t %{buildroot}%{_bindir} %{opasadb_bin}
|
||||
cp -t %{buildroot}%{_includedir}/infiniband %{opasadb_header}
|
||||
|
||||
cd ../bin
|
||||
cp -t %{buildroot}/%{pseudo_opt}/tools/ %{ff_tools_opt}
|
||||
|
||||
cd ../fastfabric
|
||||
cp -t %{buildroot}%{_sbindir} %{ff_tools_sbin}
|
||||
cp -t %{buildroot}%{pseudo_opt}tools/ %{ff_tools_misc}
|
||||
cp -t %{buildroot}%{pseudo_opt}help %{help_doc}
|
||||
|
||||
cd ../etc
|
||||
cp -t %{buildroot}/%{pseudo_opt}fm_tools/ %{ff_tools_fm}
|
||||
ln -s %{pseudo_opt}/fm_tools/config_check %{buildroot}%{_sbindir}/opafmconfigcheck
|
||||
ln -s %{pseudo_opt}/fm_tools/config_diff %{buildroot}%{_sbindir}/opafmconfigdiff
|
||||
|
||||
cd ../fastfabric/samples
|
||||
cp -t %{buildroot}%{pseudo_opt}samples %{ff_iba_samples}
|
||||
cd ..
|
||||
|
||||
cd ../fastfabric/tools
|
||||
chmod 755 *.exp
|
||||
cp -t %{buildroot}%{pseudo_opt}tools/ %{ff_tools_exp}
|
||||
cp -t %{buildroot}%{pseudo_opt}tools/ %{ff_libs_misc}
|
||||
cp -t %{buildroot}%{pseudo_opt}tools/ osid_wrapper
|
||||
cp -t %{buildroot}%{opasysconfdir} allhosts chassis hosts ports switches opaff.xml esm_chassis
|
||||
|
||||
cd ..
|
||||
cd ../man/man1
|
||||
cp -t %{buildroot}%{_mandir}/man1 %{basic_mans}
|
||||
cp -t %{buildroot}%{_mandir}/man1 %{opasadb_mans}
|
||||
cd ../man8
|
||||
cp -t %{buildroot}%{_mandir}/man8 %{ff_mans}
|
||||
cd ..
|
||||
|
||||
#Config files
|
||||
cd ../config
|
||||
cp -t %{buildroot}%{_sysconfdir}/rdma dsap.conf
|
||||
cp -t %{buildroot}/%{opasysconfdir} opamon.conf opamon.si.conf
|
||||
#cd ..
|
||||
#Libraries installing
|
||||
cd $(cat %{_builddir}/LIB_PATH)
|
||||
cp -t %{buildroot}%{_libdir} libopasadb.so.*
|
||||
cp -t %{buildroot}%{_libdir}/ibacm libdsap.so.*
|
||||
|
||||
ln -s /etc/opa/sysconfig/allhosts %{buildroot}/etc/sysconfig/opa/allhosts
|
||||
ln -s /etc/opa/sysconfig/chassis %{buildroot}/etc/sysconfig/opa/chassis
|
||||
ln -s /etc/opa/sysconfig/esm_chassis %{buildroot}//etc/sysconfig/opa/esm_chassis
|
||||
ln -s /etc/opa/sysconfig/hosts %{buildroot}/etc/sysconfig/opa/hosts
|
||||
ln -s /etc/opa/sysconfig/opafastfabric.conf %{buildroot}/etc/sysconfig/opa/opafastfabric.conf
|
||||
ln -s /etc/opa/sysconfig/opaff.xml %{buildroot}/etc/sysconfig/opa/opaff.xml
|
||||
ln -s /etc/opa/sysconfig/opamon.conf %{buildroot}/etc/sysconfig/opa/opamon.conf
|
||||
ln -s /etc/opa/sysconfig/opamon.si.conf %{buildroot}/etc/sysconfig/opa/opamon.si.conf
|
||||
ln -s /etc/opa/sysconfig/ports %{buildroot}/etc/sysconfig/opa/ports
|
||||
ln -s /etc/opa/sysconfig/switches %{buildroot}/etc/sysconfig/opa/switches
|
||||
|
||||
# Now that we've put everything in the buildroot, copy any default config files to their expected location for user
|
||||
# to edit. To prevent nuking existing user configs, the files section of this spec file will reference these as noreplace
|
||||
# config files.
|
||||
cp %{buildroot}%{pseudo_opt}tools/opafastfabric.conf.def %{buildroot}/%{opasysconfdir}/opafastfabric.conf
|
||||
|
||||
#Now we do a bunch of work to build the file listing of what belongs to each RPM
|
||||
|
||||
#Basic tools sbin
|
||||
echo "%{_sbindir}/%{basic_tools_sbin} %{basic_tools_sbin_sym}" > %{_builddir}/basic_sbin_file.list
|
||||
sed -i 's;[ ];\n%{_sbindir}/;g' %{_builddir}/basic_sbin_file.list
|
||||
|
||||
#Basic tools opt
|
||||
echo "%{pseudo_opt}tools/%{basic_tools_opt}" > %{_builddir}/basic_opt_file.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}tools/;g' %{_builddir}/basic_opt_file.list
|
||||
|
||||
#Basic man pages
|
||||
echo "%{_mandir}/man1/%{basic_mans}" > %{_builddir}/basic_mans.list
|
||||
sed -i 's;[ ];\n/usr/share/man/man1/;g' %{_builddir}/basic_mans.list
|
||||
sed -i 's;\.1;\.1*;g' %{_builddir}/basic_mans.list
|
||||
|
||||
#FF tools opt
|
||||
echo "%{pseudo_opt}tools/%{ff_tools_opt}" > %{_builddir}/ff_opt_file.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}tools/;g' %{_builddir}/ff_opt_file.list
|
||||
|
||||
#FF exp files opt
|
||||
echo "%{pseudo_opt}tools/%{ff_tools_exp}" > %{_builddir}/ff_tools_exp.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}tools/;g' %{_builddir}/ff_tools_exp.list
|
||||
|
||||
#FF misc files opt
|
||||
echo "%{pseudo_opt}tools/%{ff_tools_misc}" > %{_builddir}/ff_tools_misc.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}tools/;g' %{_builddir}/ff_tools_misc.list
|
||||
|
||||
#FF libs misc
|
||||
echo "%{pseudo_opt}tools/%{ff_libs_misc}" > %{_builddir}/ff_libs_misc.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}tools/;g' %{_builddir}/ff_libs_misc.list
|
||||
|
||||
#FF iba samples
|
||||
echo "%{pseudo_opt}samples/%{ff_iba_samples}" > %{_builddir}/ff_iba_samples.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}samples/;g' %{_builddir}/ff_iba_samples.list
|
||||
|
||||
#FF tools to FM configuration
|
||||
echo "%{pseudo_opt}fm_tools/%{ff_tools_fm}" > %{_builddir}/ff_tools_fm.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}fm_tools/;g' %{_builddir}/ff_tools_fm.list
|
||||
|
||||
#FF man pages
|
||||
echo "%{_mandir}/man8/%{ff_mans}" > %{_builddir}/ff_mans.list
|
||||
sed -i 's;[ ];\n/usr/share/man/man8/;g' %{_builddir}/ff_mans.list
|
||||
sed -i 's;\.8;\.8*;g' %{_builddir}/ff_mans.list
|
||||
|
||||
#Final file listing for 'basic'
|
||||
cat %{_builddir}/basic_sbin_file.list %{_builddir}/basic_opt_file.list %{_builddir}/basic_mans.list > %{_builddir}/basic_file.list
|
||||
|
||||
#FF tools help doc
|
||||
echo "%{pseudo_opt}help/%{help_doc}" > %{_builddir}/ff_help_file.list
|
||||
sed -i 's;[ ];\n%{pseudo_opt}help/;g' %{_builddir}/ff_help_file.list
|
||||
|
||||
#FF tools sbin
|
||||
echo "%{_sbindir}/%{ff_tools_sbin}" > %{_builddir}/ff_sbin_file.list
|
||||
sed -i 's;[ ];\n%{_sbindir}/;g' %{_builddir}/ff_sbin_file.list
|
||||
|
||||
#Final file listing for 'ff'
|
||||
cat %{_builddir}/ff_sbin_file.list %{_builddir}/ff_help_file.list %{_builddir}/ff_tools_exp.list %{_builddir}/ff_tools_misc.list %{_builddir}/ff_libs_misc.list %{_builddir}/ff_iba_samples.list %{_builddir}/ff_mans.list %{_builddir}/ff_tools_fm.list %{_builddir}/ff_opt_file.list > %{_builddir}/ff_file.list
|
||||
|
||||
#TODO/
|
||||
#preun fastfabric
|
||||
#cd /opt/opa/src/mpi_apps >/dev/null 2>&1
|
||||
#make -k clean >/dev/null 2>&1 || : # suppress all errors and return codes from the make clean.
|
||||
|
||||
|
||||
%post -n opa-address-resolution-devel -p /sbin/ldconfig
|
||||
%postun -n opa-address-resolution-devel -p /sbin/ldconfig
|
||||
|
||||
%files -n opa-basic-tools -f %{_builddir}/basic_file.list
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{pseudo_opt}
|
||||
%dir %{pseudo_opt}tools/
|
||||
|
||||
%doc README LICENSE
|
||||
|
||||
%files -n opa-fastfabric -f %{_builddir}/ff_file.list
|
||||
%defattr(-,root,root,0755)
|
||||
%dir %{pseudo_opt}
|
||||
%dir %{pseudo_opt}fm_tools
|
||||
%dir %{pseudo_opt}help
|
||||
%dir %{pseudo_opt}samples
|
||||
%dir %{pseudo_opt}tools
|
||||
|
||||
%dir %{_sysconfdir}/opa
|
||||
%dir %{opasysconfdir}
|
||||
%dir %{_sysconfdir}/sysconfig/opa
|
||||
/etc/sysconfig/opa/*
|
||||
|
||||
%config(noreplace) %{opasysconfdir}/opafastfabric.conf
|
||||
%config(noreplace) %{opasysconfdir}/opamon.conf
|
||||
%config(noreplace) %{opasysconfdir}/allhosts
|
||||
%config(noreplace) %{opasysconfdir}/chassis
|
||||
%config(noreplace) %{opasysconfdir}/esm_chassis
|
||||
%config(noreplace) %{opasysconfdir}/hosts
|
||||
%config(noreplace) %{opasysconfdir}/ports
|
||||
%config(noreplace) %{opasysconfdir}/switches
|
||||
%config(noreplace) %{opasysconfdir}/opaff.xml
|
||||
%{opasysconfdir}/opamon.si.conf
|
||||
%{pseudo_opt}tools/osid_wrapper
|
||||
%{_sbindir}/opafmconfigcheck
|
||||
%{_sbindir}/opafmconfigdiff
|
||||
|
||||
/opt/opa
|
||||
|
||||
%files -n opa-address-resolution-devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_sysconfdir}/rdma/
|
||||
#Everything under the bin directory belongs exclusively to opasadb at this time.
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*
|
||||
%{_includedir}/*
|
||||
%{_mandir}/man1/opa_osd_dump.1*
|
||||
%{_mandir}/man1/opa_osd_exercise.1*
|
||||
%{_mandir}/man1/opa_osd_perf.1*
|
||||
%{_mandir}/man1/opa_osd_query.1*
|
||||
%config(noreplace) %{_sysconfdir}/rdma/dsap.conf
|
||||
|
||||
%changelog
|
3
opa-ff.tar.gz
Normal file
3
opa-ff.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7bbd3b493155e9d61c604ba15215d5e09817fe3014a6fcf50544c9d3ffeb2d6
|
||||
size 67743128
|
54
opa-ff_fix_suse_build_issue.patch
Normal file
54
opa-ff_fix_suse_build_issue.patch
Normal file
@ -0,0 +1,54 @@
|
||||
diff --git a/Makerules/Defs.Flags b/Makerules/Defs.Flags
|
||||
index 8caba53..91764ca 100755
|
||||
--- a/Makerules/Defs.Flags
|
||||
+++ b/Makerules/Defs.Flags
|
||||
@@ -53,8 +53,8 @@ CCDEPENDFLAGS = $(CCFLAGS) $(DEPENDENV) $(DEPENDPROJ) $(DEPENDMOD) $(DEPENDLOCA
|
||||
|
||||
CINCLUDE_DIRS = $(LOCAL_INCLUDE_DIRS) $(MOD_INCLUDE_DIRS) $(PROJ_INCLUDE_DIRS) $(SYS_INCLUDE_DIRS)
|
||||
ifndef KERNELRELEASE
|
||||
-CFLAGS = $(CMACH) $(CSYS) $(CENV) $(CPROJ) $(CMOD) $(CLOCAL) $(COPT) $(CDEBUG) $(CINCSRCH)
|
||||
-CCFLAGS = $(CCMACH) $(CCSYS) $(CCENV) $(CCPROJ) $(CCMOD) $(CCLOCAL) $(CCOPT) $(CCDEBUG) $(CINCSRCH)
|
||||
+CFLAGS = $(CMACH) $(CSYS) $(CENV) $(CPROJ) $(CMOD) $(CLOCAL) $(COPT) $(CDEBUG) $(CINCSRCH) $(RPM_OPT_FLAGS)
|
||||
+CCFLAGS = $(CCMACH) $(CCSYS) $(CCENV) $(CCPROJ) $(CCMOD) $(CCLOCAL) $(CCOPT) $(CCDEBUG) $(CINCSRCH) $(RPM_OPT_FLAGS)
|
||||
|
||||
LDFLAGS = $(LDMACH) $(LDSYS) $(LDENV) $(LDPROJ) $(LDMOD) $(LDLOCAL) $(LDLIBSRCH) $(LDSTRIP) $(LDOUTPUT)
|
||||
LD_LIB_DIRS = $(LOCAL_LIB_DIRS) $(MOD_LIB_DIRS) $(PROJ_LIB_DIRS) $(SYS_LIB_DIRS)
|
||||
diff --git a/Makerules/Target.LINUX.INTEL.X86_64 b/Makerules/Target.LINUX.INTEL.X86_64
|
||||
index a373262..3a6687d 100755
|
||||
--- a/Makerules/Target.LINUX.INTEL.X86_64
|
||||
+++ b/Makerules/Target.LINUX.INTEL.X86_64
|
||||
@@ -132,6 +132,7 @@ endif
|
||||
|
||||
endif
|
||||
CKERNEL+=-include $(TL_DIR)/Makerules/LINUX/$(BUILD_TARGET).$(BUILD_TARGET_OS_VENDOR).$(BUILD_TARGET_OS_VERSION).h
|
||||
+CKERNEL+= $(RPM_OPT_FLAGS)
|
||||
|
||||
# Include directories for kernel
|
||||
KERNELDIR=/lib/modules/$(BUILD_TARGET_OS_VERSION)/build
|
||||
diff --git a/ff_build.sh b/ff_build.sh
|
||||
index d70dcd8..5505ed9 100755
|
||||
--- a/ff_build.sh
|
||||
+++ b/ff_build.sh
|
||||
@@ -68,7 +68,13 @@ export PRODUCT=${PRODUCT:-OPENIB_FF}
|
||||
# for HSM the kernel rev is not important. We simply use the kernel rev
|
||||
# of the running kernel. While BUILD_TARGET_OS_VERSION is needed by Makerules
|
||||
# it will have no impact on what is actually built for HSM
|
||||
-export BUILD_TARGET_OS_VERSION=${BUILD_TARGET_OS_VERSION:-`uname -r`}
|
||||
+export BUILD_TARGET_OS_VERSION=`uname -r`
|
||||
+export BUILD_PLATFORM_OS_VENDOR="SuSE"
|
||||
+export BUILD_TARGET_OS_VENDOR="SuSE"
|
||||
+export BUILD_PLATFORM_OS_VENDOR_VERSION="OPENSUSE_BUILD_SYSTEM"
|
||||
+export BUILD_TARGET_OS_VENDOR=$BUILD_PLATFORM_OS_VENDOR
|
||||
+export BUILD_TARGET_OS_VENDOR_VERSION=$BUILD_PLATFORM_OS_VENDOR_VERSION
|
||||
+
|
||||
setver $BUILD_TARGET_OS_VENDOR $BUILD_TARGET_OS_VERSION
|
||||
|
||||
RELEASE_STRING=IntelOPA-Tools-FF.$BUILD_TARGET_OS_ID.$MODULEVERSION
|
||||
@@ -79,6 +85,7 @@ shift
|
||||
set -x
|
||||
{
|
||||
echo "Environment:"
|
||||
+ export BUILD_TARGET_OS_VERSION="4.4"
|
||||
env
|
||||
echo "----------------------------------------------------------------------------"
|
||||
echo
|
Loading…
Reference in New Issue
Block a user