summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-07 00:42:22 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-07 00:42:38 +0200
commitefdad0b126abd3c151b545740d0530a0a832d482 (patch)
tree1aa3e471f1bd2169378ac83abe8e715e528c51fa /solenv/bin
parenta6f81b3a98e136afabda512b4082b2be05490b34 (diff)
wntgccx -> Win_x64 for packages
Change-Id: I52fbcee96ad6927a4af49b78001c49916a5c3544
Diffstat (limited to 'solenv/bin')
-rwxr-xr-xsolenv/bin/linkoo4
-rw-r--r--solenv/bin/modules/installer.pm2
-rw-r--r--solenv/bin/modules/installer/download.pm9
-rw-r--r--solenv/bin/modules/installer/globals.pm1
-rw-r--r--solenv/bin/modules/installer/parameter.pm7
5 files changed, 19 insertions, 4 deletions
diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
index bda2132a4c78..47aa4029948d 100755
--- a/solenv/bin/linkoo
+++ b/solenv/bin/linkoo
@@ -110,11 +110,11 @@ File::Spec->file_name_is_absolute($OOO_BUILD) || die "linkoo requires absolute p
$SOLARVER = "$OOO_BUILD/solver";
-if ($TARGET =~ /^wntgcci/ || $TARGET =~ /^wntmsci[0-9]+/) {
+if ($TARGET =~ /^wntgcci/ || $TARGET =~ /^wntgccx/ || $TARGET =~ /^wntmsci[0-9]+/|| $TARGET =~ /^wntmscx[0-9]+/) {
$windows = 1;
}
-if ($TARGET =~ /^wntmsci[0-9]+/) {
+if ($TARGET =~ /^wntmsci[0-9]+/ || $TARGET =~ /^wntmscx[0-9]+/) {
# wntgcci means are cross-compiling & can symlink, so copy only on real
# Windows
$copy = 1;
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm
index 27244a9ab97b..6ae5b57840a9 100644
--- a/solenv/bin/modules/installer.pm
+++ b/solenv/bin/modules/installer.pm
@@ -1296,7 +1296,7 @@ sub run {
# 1. copy all files that need to be stripped locally
# 2. strip all these files
- if ( $installer::globals::compiler =~ /wntgcci/ )
+ if ( $installer::globals::compiler =~ /wntgcci/ || $installer::globals::compiler =~ /wntgccx/ )
{
installer::windows::strip::strip_binaries($filesinproductlanguageresolvedarrayref, $languagestringref);
}
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index 9c4dde69caaf..408dc3680521 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -405,7 +405,14 @@ sub get_download_architecture
}
elsif ( $installer::globals::iswindowsbuild )
{
- $arch = "x86";
+ if ( $installer::globals::iswin64build )
+ {
+ $arch = "x64";
+ }
+ else
+ {
+ $arch = "x86";
+ }
}
elsif ( $installer::globals::compiler =~ /^unxmacxi/ )
{
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index 7cd6e92b8e48..cb58cdc04b3a 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -46,6 +46,7 @@ BEGIN
$languages_defined_in_productlist = 0;
$setupscript_defined_in_productlist = 0;
$iswindowsbuild = 0;
+ $iswin64build = 0;
$islinuxbuild = 0;
$isrpmbuild = 0;
$isdebbuild = 0;
diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm
index 2a98dd84639d..9c18ca3622e9 100644
--- a/solenv/bin/modules/installer/parameter.pm
+++ b/solenv/bin/modules/installer/parameter.pm
@@ -247,6 +247,13 @@ sub setglobalvariables
if ( $installer::globals::compiler =~ /wnt(msc|gcc)i/ )
{
$installer::globals::iswindowsbuild = 1;
+ $installer::globals::iswin64build = 0;
+ }
+
+ if ( $installer::globals::compiler =~ /wnt(msc|gcc)x/ )
+ {
+ $installer::globals::iswindowsbuild = 1;
+ $installer::globals::iswin64build = 1;
}
if ( $installer::globals::compiler =~ /unxso[lg][siux]/ )