[PATCH] Fix location where math-vector-fortran.h is installed.
Martin Liška
mliska@suse.cz
Thu Feb 28 13:18:00 GMT 2019
On 2/27/19 4:00 PM, Zack Weinberg wrote:
> On Wed, Feb 27, 2019 at 3:09 AM Martin Liška <mliska@suse.cz> wrote:
>> On 2/26/19 10:41 PM, Zack Weinberg wrote:
>>> On Tue, Feb 26, 2019 at 4:16 PM Florian Weimer <fweimer@redhat.com> wrote:
>>>> * Martin Liška:
>>>>> On 2/26/19 7:05 PM, Joseph Myers wrote:
>>>>>> On Tue, 26 Feb 2019, Martin Liška wrote:
>>>>>>
>>>>>>> Hi.
>>>>>>>
>>>>>>> This is follow up patch where I fix location where the header
>>>>>>> is installed. I made a type as I was copying & pasting.
>>>
>>> Do I understand correctly that the desired installation location is
>>> $(prefix)/include/finclude/math-vector-fortran.h ?
>>
>> Yes.
>
> Will there ever be C headers in $(prefix)/include/finclude ?
Hello.
No, only Fortran header files.
>
>>>> In file included from /tmp/cih_test_C67G81.c:8:
>>>> ../sysdeps/x86/fpu/finclude/math-vector-fortran.h:1:1: error: expected identifie
>>>> r or â(â before â!â token
>>>> ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*
>>
>> I skipped that header explicitly.
> ...
>> + # Skip Fortran header
>> + (finclude/math-vector-fortran.h)
>> + continue;;
>
> To put the above question another way, is there a reason why this shouldn't be
>
> + # Skip Fortran headers
> + (finclude/*)
> + continue;;
>
> ?
Yes.
>
>> And for the check-wrapper-headers.py, I read a header file and skip files
>> with 'f90' file type.
>
> If you're going to do it this way, I recommend you copy the more
> general Emacs modeline parser from
> https://sourceware.org/ml/libc-alpha/2019-02/msg00539.html ... but if
> we can just skip finclude/* that might be a better approach for both
> scripts.
Agree, it would be easier.
Martin
>
> zw
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-location-where-math-vector-fortran.h-is-installe.patch
Type: text/x-patch
Size: 4089 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190228/7a88e796/attachment.bin>
More information about the Libc-alpha
mailing list