Hello,
> Unfortunately currently it’s impossible to run make check-target-libgomp
> from the build dir, since both accel- and host-compilers need to be installed
> into the same dir, otherwise host’s gcc will not find accel’s mkoffload.
We found workaround to allow make check-target-libgomp.
So, here's addendum to previous's message manual

    5. make check (run tests using the emulator):

    configure, make and *install* accel compiler (see #1)
    configure and make host compiler (see #2)
    export COMPILER_PATH="/install/libexec/gcc/x86_64-pc-linux-gnu/4.10.0"
    export 
LIBGOMP_PLUGIN_PATH="/gcc_build_host/x86_64-pc-linux-gnu/libgomp/plugins/intelmic"
    export 
LD_LIBRARY_PATH="/gcc_build_host/x86_64-pc-linux-gnu/liboffloadmic/.libs"
    export 
MIC_LD_LIBRARY_PATH="/install/lib/gcc/x86_64-intelmic-linux-gnu/4.10.0/"
    cd gcc_build_host
    make check-target-libgomp

--
Thanks, K

Reply via email to