[x265] [PATCH 6 of 6] asm: upgrade runtime warning to explicit compile error

Steve Borho steve at borho.org
Fri Mar 6 21:30:47 CET 2015


On Fri, Mar 6, 2015 at 2:09 PM, Mario Rohkrämer <contact at ligh.de> wrote:
> Am 06.03.2015, 18:07 Uhr, schrieb Steve Borho <steve at borho.org>:
>
>> # HG changeset patch
>> # User Steve Borho <steve at borho.org>
>> # Date 1425661623 21600
>> #      Fri Mar 06 11:07:03 2015 -0600
>> # Node ID 3eef0fe70475e17f5a671bf0dd522f89fb957b71
>> # Parent  a07ea06f3ee8a5d1edb2edc584934d38f26583d8
>> asm: upgrade runtime warning to explicit compile error
>>
>> +#error "Unsupported build configuration (32bit x86 and HIGH_BIT_DEPTH),
>> you must configure ENABLE_ASSEMBLY=OFF"
>
>
> This does not yet prevent make from trying to build intrapred16.asm
>
> Somehow I believe this should already happen in cmake scripts?

It is complicated to enforce it in the cmake scripts because of the
workarounds we require for MSVC and Xcode.

I'm trying to avoid adding too much complexity for a build option that
is not supported, and usually requires either editing the
CMakeLists.txt or manually mucking with the config options to even get
it into this state.

-- 
Steve Borho


More information about the x265-devel mailing list