[foreign] Running tests on Windows

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Sep 19 21:11:27 UTC 2018



On 19/09/18 21:58, Jorn Vernee wrote:
> Maurizio Cimadamore schreef op 2018-09-19 22:05:
>> First off - thanks for doing this; it's immensely appreciated.
>>
>> as for this:
>>
>> JtregNativeJdk.gmk:96: warning: ignoring old recipe for target
>> '/cygdrive/j/cygwin64/home/Jorn/cygwin-projects/panama/build/windows-x86_64-normal-server-release/support/test/jdk/jtreg/native/lib/Hello.dll' 
>>
>>
>> I'm getting similar warnings too, but for Hello.so. I think that's how
>> supposed to work but then again I'm not a build guru and I haven't
>> digged too deep (yet) to figure out what's causing that. But I get
>> that too, so I think we can ignore that for the time being.
>>
>> I agree that we should focus on Win x64.
>>
>> About the 'cannot locate clang' that's the first hurdle that we should
>> be able to solve. First question: what's in your /cygdrive/j/LLVM
>> folder? Is that a straight download of the LLVM binaries?
>>
>> Maurizio
>
> Hi Maurizo,
>
> I just downloaded the pre-built binary of LLVM 6.0.1 for Windows 
> (64-bit) from http://releases.llvm.org/download.html which comes as an 
> installer that creates the LLVM folder.
>
> I've made a gist with the folder structure here 
> https://gist.github.com/JornVernee/dae92a19f4d2036f30153e747b55d874 So 
> you can take a look if you want. Everything seems to be in the right 
> place, except for the DLL. But the error I'm seeing seems to be from 
> the compiler not finding the header files.
That seems ok.

On this:

conftest.cpp(52): fatal error C1083: Cannot open include file: 
'clang-c/Index.h': No such file or directory

I also thought that the problem could lie in the forward slash in the 
#include directive, but that seems accepted by MSVC and converted 
accordingly.

So it seems like your issue is: if you try to compile a c/cpp file with 
an include to clang-c/Index.h using MSVC from cygwin, that fails, 
correct? Which in turns trips up the build configure script.

Maurizio



>
> Jorn
>



More information about the panama-dev mailing list