[ewg] [RFC PATCH] Additional dependency checking on SLES PPC

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Sun Sep 28 00:56:29 PDT 2008


Aleksey Senin wrote:
>>From c7e4ef0387e140e301267ce48886f2238c4e9747 Mon Sep 17 00:00:00 2001
> From: Aleksey Senin <alekseys at voltaire.com>
> Date: Thu, 25 Sep 2008 13:21:45 +0300
> Subject: [PATCH] Additional dependencies checking on SLES10 SP2 PPC
> 
> Development packages specified bellow contain "-64bit" suffix
> in their names and current 'install.pl' logic will not recognize
> that PPC missing critical for compilation packages. So this patch
> add checking if
> glibc-devel-64bit
> zlib-devel-64bit
> libstdc++-devel-64bit
> are installed before start whole compile process on SLES PPC platform
> 
> Signed-off-by: Aleksey Senin <alekseys at voltaire.com>
> ---
>  install.pl |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/install.pl b/install.pl
> index 7b37574..2160710 100755
> --- a/install.pl
> +++ b/install.pl
> @@ -423,7 +423,10 @@ my %packages_info = (
>          'libibverbs' =>
>              { name => "libibverbs", parent => "libibverbs",
>              selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0,
> -            available => 1, mode => "user", dist_req_build => ["gcc_3.3.3", "glibc-devel","$libstdc"],
> +            available => 1, mode => "user", dist_req_build => 
> +            ( $distro eq 'SuSE' && $arch eq "ppc64" )?( $build32 == 1 )?
> +            ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"]:["gcc_3.3.3", "glibc-devel-64bit","$libstdc"]:
> +            ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"],
>              dist_req_inst => [], ofa_req_build => [], ofa_req_inst => ["ofed-scripts"], 
>              install32 => 1, exception => 0, configure_options => '' },

Applied,

I changed the section above to:

 > -            available => 1, mode => "user", dist_req_build => ["gcc_3.3.3", "glibc-devel","$libstdc"],
 > +            available => 1, mode => "user", dist_req_build =>
 > +            ( $distro eq 'SuSE' && $arch eq "ppc64" )?( $build32 == 1 )?
 > +            ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"]:["gcc_3.3.3", "glibc-devel-64bit","$libstdc"]:
 > +            ["gcc_3.3.3", "glibc-devel","$libstdc"],

Regards,
Vladimir



More information about the ewg mailing list