libwally-core icon indicating copy to clipboard operation
libwally-core copied to clipboard

add Dockerfile

Open secinthenet opened this issue 3 years ago • 2 comments

secinthenet avatar Apr 03 '21 13:04 secinthenet

Quick question: even though I'm exporting CC="clang-10" CXX="clang++-10", it seems that the tests run with gcc, which is presumably why the clear test fails and I need to disable it?

secinthenet avatar Apr 03 '21 13:04 secinthenet

Quick question: even though I'm exporting CC="clang-10" CXX="clang++-10", it seems that the tests run with gcc, which is presumably why the clear test fails and I need to disable it?

The tests should be built with the same compiler as the library itself, I'd need to try this docker build to see whats going on. However I have noticed on debian that using the named compiler may not work sometimes, I have had more success (with e.g. gdk) installing clang versions into unique directories and using PATH to control the compiler used.

Thanks for this contribution! it may be a little while before we review and merge it but rest assured we will take a look as soon as we get time.

jgriffiths avatar Apr 05 '21 00:04 jgriffiths