Re: WIP: About CMake v2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP: About CMake v2
Дата
Msg-id 24796.1441082995@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP: About CMake v2  (Noah Misch <noah@leadboat.com>)
Ответы Re: WIP: About CMake v2  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Fri, Aug 28, 2015 at 01:28:49PM -0300, Alvaro Herrera wrote:
>> If it allows us to get rid of our custom MSVC scripts, it's a huge
>> benefit, for sure -- that has been a huge pain in the neck since day
>> one.

> Moreover, I suggest beginning with a patch that replaces the src/tools/msvc
> build system with CMake.  One can test almost all Windows configurations using
> two machines, so author and reviewer can test most everything.  src/tools/msvc
> has more defects than the GNU make build system, so the minimum-quality
> acceptable replacement is easier to deliver.  With CMake driving all MSVC
> builds, it would be much easier to gradually extend to other platforms.

mmm ... dunno about that plan.  In the first place, you seem to be
recommending that YUriy incorporate all the deficiencies of src/tools/msvc
into his first draft and then hope somehow to fix them later.  In the
second place, I think that the core problem here involves being sure
we can still cover all the portability issues that have been laboriously
hacked into the autoconf/gmake build system over nigh two decades.
Starting from a build system that was designed to cover exactly one target
platform, and has never been asked to do anything more than that, doesn't
sound like a recipe for success there.

Maybe you're right about how to approach this, but I wouldn't bet on it.
        regards, tom lane



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Speed up Clog Access by increasing CLOG buffers
Следующее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: pg_stat_statements query jumbling question