Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment
Дата
Msg-id CAC+AXB1hEoM+=c6OnNfeDNZzvKtQBuo4qo7W9AkUBNVYEjAqYg@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment  (PG Bug reporting form <noreply@postgresql.org>)
Ответы RE: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment  (<robionekenobi@bluewin.ch>)
Список pgsql-bugs


On Fri, Jan 15, 2021 at 9:21 AM PG Bug reporting form <noreply@postgresql.org> wrote:

in src\tools\msvc\Solution.pm the following test is not sufficient
                $self->{platform} =
                  ($output =~ /^\/favor:<.+AMD64/m) ? 'x64' : 'Win32';
because the cl /? returns:
                Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64
                Copyright (C) Microsoft Corporation.  All rights reserved.
 
I see no bug here, that expression is looking for the line: "/favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:", which is one of the first printed options.
To make sure this is working in your environment, you should see "Detected hardware platform: x64" when building.

Regards,

Juan José Santamaría Flecha


 

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Ricardo Ungureanu
Дата:
Сообщение: Re: BUG #16827: macOS interrupted syscall leads to a crash
Следующее
От: Kisung Kim
Дата:
Сообщение: Re: BUG #16824: Planner chooses poor path on query with Merge Join and pagination