Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configure scripts for local-aarch64-*-windows #8734

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions erts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -3836,6 +3836,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -3850,6 +3857,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -3864,6 +3878,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -3875,18 +3896,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
30 changes: 26 additions & 4 deletions lib/common_test/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -2055,6 +2062,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -2069,6 +2083,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -2080,18 +2101,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
30 changes: 26 additions & 4 deletions lib/crypto/configure
Original file line number Diff line number Diff line change
Expand Up @@ -3160,6 +3160,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -3174,6 +3181,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -3188,6 +3202,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -3199,18 +3220,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
30 changes: 26 additions & 4 deletions lib/erl_interface/configure
Original file line number Diff line number Diff line change
Expand Up @@ -3044,6 +3044,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -3058,6 +3065,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -3072,6 +3086,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -3083,18 +3104,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
30 changes: 26 additions & 4 deletions lib/megaco/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2904,6 +2904,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -2918,6 +2925,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -2932,6 +2946,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -2943,18 +2964,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
30 changes: 26 additions & 4 deletions lib/odbc/configure
Original file line number Diff line number Diff line change
Expand Up @@ -3002,6 +3002,13 @@ test -n "$target_alias" &&

# Adjust for local legacy windows hack...
case $host in #(
local-aarch64-*-windows) :

host=win32
host_os=win32
host_vendor=
host_cpu=aarch64
;; #(
local-*-windows) :

host=win32
Expand All @@ -3016,6 +3023,13 @@ esac

# Adjust for local legacy windows hack...
case $build in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

build=win32
Expand All @@ -3030,6 +3044,13 @@ esac

# Adjust for local legacy windows hack...
case $target in #(
local-aarch64-*-windows) :

build=win32
build_os=win32
build_vendor=
build_cpu=aarch64
;; #(
local-*-windows) :

target=win32
Expand All @@ -3041,18 +3062,19 @@ esac
;;
esac

if test "$cross_compiling" = "yes" -a "$build" = "$host"
if test "$cross_compiling" = "yes" -a "$build" = "$host" -a "$build_cpu" = "$host_cpu"
then :
as_fn_error $? "
Cross compiling with the same canonicalized 'host' value
as the canonicalized 'build' value.
Cross compiling with the same canonicalized 'host' and 'host_cpu'
values as the canonicalized 'build' and 'build_cpu' values

We are cross compiling since the '--host=$host_alias'
and the '--build=$build_alias' arguments differ. When
cross compiling Erlang/OTP, also the canonicalized values of
the '--build' and the '--host' arguments *must* differ. The
canonicalized values of these arguments however both equals:
$host
host = build = $host,
host_cpu = build_cpu = $host_cpu

You can check the canonical value by passing a value as
argument to the 'make/autoconf/config.sub' script.
Expand Down
Loading
Loading