summaryrefslogtreecommitdiffstats
path: root/Makefile.def
diff options
context:
space:
mode:
authorKirill Yukhin <kirill.yukhin@intel.com>2014-11-13 14:03:17 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-11-13 14:03:17 +0000
commit5f520819620642ecd2b070f96efa3007ac1f15a1 (patch)
tree55be4bcc0740fab528054e3f28398e4513f34e4d /Makefile.def
parentmatch.pd: Add tcc_comparison... (diff)
downloadgcc-5f520819620642ecd2b070f96efa3007ac1f15a1.tar.gz
gcc-5f520819620642ecd2b070f96efa3007ac1f15a1.tar.bz2
gcc-5f520819620642ecd2b070f96efa3007ac1f15a1.tar.xz
[PATCH 2/4] OpenMP 4.0 offloading to Intel MIC: liboffloadmic.
* Makefile.def: Add liboffloadmic to target_modules. Make liboffloadmic depend on libgomp's configure, libstdc++ and libgcc. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Add liboffloadmic to target binaries. Restrict liboffloadmic for POSIX and i*86, and x86_64 architectures. Add liboffloadmic to noconfig list when C++ is not supported. config/ * target-posix: New file. libcilkrts/ * configure.tgt: Use config/target-posix. liboffloadmic/ Initial commit. Imported from upstream: https://www.openmprtl.org/sites/default/files/liboffload_oss.tgz * Makefile.am: New file. * Makefile.in: New file, generated by automake. * aclocal.m4: New file, generated by aclocal. * configure: New file, generated by autoconf. * configure.ac: New file. * configure.tgt: Ditto. * doc/doxygen/config: Ditto. * doc/doxygen/header.tex: Ditto. * include/coi/common/COIEngine_common.h: Ditto. * include/coi/common/COIMacros_common.h: Ditto. * include/coi/common/COIPerf_common.h : Ditto. * include/coi/common/COIResult_common.h : Ditto. * include/coi/common/COITypes_common.h: Ditto. * include/coi/sink/COIBuffer_sink.h: Ditto. * include/coi/sink/COIPipeline_sink.h: Ditto. * include/coi/sink/COIProcess_sink.h: Ditto. * include/coi/source/COIBuffer_source.h: Ditto. * include/coi/source/COIEngine_source.h: Ditto. * include/coi/source/COIEvent_source.h: Ditto. * include/coi/source/COIPipeline_source.h: Ditto. * include/coi/source/COIProcess_source.h: Ditto. * include/myo/myo.h: Ditto. * include/myo/myoimpl.h: Ditto. * include/myo/myotypes.h: Ditto. * liboffloadmic_host.spec.in: Ditto. * liboffloadmic_target.spec.in: Ditto. * runtime/cean_util.cpp: Ditto. * runtime/cean_util.h: Ditto. * runtime/coi/coi_client.cpp: Ditto. * runtime/coi/coi_client.h: Ditto. * runtime/coi/coi_server.cpp: Ditto. * runtime/coi/coi_server.h: Ditto. * runtime/compiler_if_host.cpp: Ditto. * runtime/compiler_if_host.h: Ditto. * runtime/compiler_if_target.cpp: Ditto. * runtime/compiler_if_target.h: Ditto. * runtime/dv_util.cpp: Ditto. * runtime/dv_util.h: Ditto. * runtime/emulator/coi_common.h: Ditto. * runtime/emulator/coi_device.cpp: Ditto. * runtime/emulator/coi_device.h: Ditto. * runtime/emulator/coi_host.cpp: Ditto. * runtime/emulator/coi_host.h: Ditto. * runtime/emulator/coi_version_asm.h: Ditto. * runtime/emulator/coi_version_linker_script.map: Ditto. * runtime/emulator/myo_client.cpp: Ditto. * runtime/emulator/myo_service.cpp: Ditto. * runtime/emulator/myo_service.h: Ditto. * runtime/emulator/myo_version_asm.h: Ditto. * runtime/emulator/myo_version_linker_script.map: Ditto. * runtime/liboffload_error.c: Ditto. * runtime/liboffload_error_codes.h: Ditto. * runtime/liboffload_msg.c: Ditto. * runtime/liboffload_msg.h: Ditto. * runtime/mic_lib.f90: Ditto. * runtime/offload.h: Ditto. * runtime/offload_common.cpp: Ditto. * runtime/offload_common.h: Ditto. * runtime/offload_engine.cpp: Ditto. * runtime/offload_engine.h: Ditto. * runtime/offload_env.cpp: Ditto. * runtime/offload_env.h: Ditto. * runtime/offload_host.cpp: Ditto. * runtime/offload_host.h: Ditto. * runtime/offload_myo_host.cpp: Ditto. * runtime/offload_myo_host.h: Ditto. * runtime/offload_myo_target.cpp: Ditto. * runtime/offload_myo_target.h: Ditto. * runtime/offload_omp_host.cpp: Ditto. * runtime/offload_omp_target.cpp: Ditto. * runtime/offload_orsl.cpp: Ditto. * runtime/offload_orsl.h: Ditto. * runtime/offload_table.cpp: Ditto. * runtime/offload_table.h: Ditto. * runtime/offload_target.cpp: Ditto. * runtime/offload_target.h: Ditto. * runtime/offload_target_main.cpp: Ditto. * runtime/offload_timer.h: Ditto. * runtime/offload_timer_host.cpp: Ditto. * runtime/offload_timer_target.cpp: Ditto. * runtime/offload_trace.cpp: Ditto. * runtime/offload_trace.h: Ditto. * runtime/offload_util.cpp: Ditto. * runtime/offload_util.h: Ditto. * runtime/ofldbegin.cpp: Ditto. * runtime/ofldend.cpp: Ditto. * runtime/orsl-lite/include/orsl-lite.h: Ditto. * runtime/orsl-lite/lib/orsl-lite.c: Ditto. * runtime/orsl-lite/version.txt: Ditto. * runtime/use_mpss2.txt: Ditto. From-SVN: r217498
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index a68f2083e56..40bbca9c3a9 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -134,6 +134,9 @@ target_modules = { module= libvtv;
134 raw_cxx=true; }; 134 raw_cxx=true; };
135target_modules = { module= libcilkrts; 135target_modules = { module= libcilkrts;
136 lib_path=.libs; }; 136 lib_path=.libs; };
137target_modules = { module= liboffloadmic;
138 lib_path=.libs;
139 extra_configure_flags='@extra_liboffloadmic_configure_flags@'; };
137target_modules = { module= libssp; lib_path=.libs; }; 140target_modules = { module= libssp; lib_path=.libs; };
138target_modules = { module= newlib; }; 141target_modules = { module= newlib; };
139target_modules = { module= libgcc; bootstrap=true; no_check=true; }; 142target_modules = { module= libgcc; bootstrap=true; no_check=true; };
@@ -509,6 +512,7 @@ dependencies = { module=all-m4; on=all-build-texinfo; };
509lang_env_dependencies = { module=libjava; cxx=true; }; 512lang_env_dependencies = { module=libjava; cxx=true; };
510lang_env_dependencies = { module=libitm; cxx=true; }; 513lang_env_dependencies = { module=libitm; cxx=true; };
511lang_env_dependencies = { module=libcilkrts; cxx=true; }; 514lang_env_dependencies = { module=libcilkrts; cxx=true; };
515lang_env_dependencies = { module=liboffloadmic; cxx=true; };
512lang_env_dependencies = { module=newlib; no_c=true; }; 516lang_env_dependencies = { module=newlib; no_c=true; };
513lang_env_dependencies = { module=libgloss; no_c=true; }; 517lang_env_dependencies = { module=libgloss; no_c=true; };
514lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; }; 518lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
@@ -535,12 +539,14 @@ dependencies = { module=all-target-libjava; on=all-target-libffi; };
535dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; }; 539dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
536dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; 540dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
537dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; 541dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
542dependencies = { module=configure-target-liboffloadmic; on=configure-target-libgomp; };
538dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; }; 543dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; };
539dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; }; 544dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; };
540// parallel_list.o and parallel_settings.o depend on omp.h, which is 545// parallel_list.o and parallel_settings.o depend on omp.h, which is
541// generated by the libgomp configure. Unfortunately, due to the use of 546// generated by the libgomp configure. Unfortunately, due to the use of
542// recursive make, we can't be that specific. 547// recursive make, we can't be that specific.
543dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; }; 548dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
549dependencies = { module=all-target-liboffloadmic; on=configure-target-libgomp; };
544 550
545dependencies = { module=install-target-libgo; on=install-target-libatomic; }; 551dependencies = { module=install-target-libgo; on=install-target-libatomic; };
546dependencies = { module=install-target-libgfortran; on=install-target-libquadmath; }; 552dependencies = { module=install-target-libgfortran; on=install-target-libquadmath; };
@@ -551,6 +557,8 @@ dependencies = { module=install-target-libvtv; on=install-target-libstdc++-v3; }
551dependencies = { module=install-target-libvtv; on=install-target-libgcc; }; 557dependencies = { module=install-target-libvtv; on=install-target-libgcc; };
552dependencies = { module=install-target-libcilkrts; on=install-target-libstdc++-v3; }; 558dependencies = { module=install-target-libcilkrts; on=install-target-libstdc++-v3; };
553dependencies = { module=install-target-libcilkrts; on=install-target-libgcc; }; 559dependencies = { module=install-target-libcilkrts; on=install-target-libgcc; };
560dependencies = { module=install-target-liboffloadmic; on=install-target-libstdc++-v3; };
561dependencies = { module=install-target-liboffloadmic; on=install-target-libgcc; };
554dependencies = { module=install-target-libjava; on=install-target-libgcc; }; 562dependencies = { module=install-target-libjava; on=install-target-libgcc; };
555dependencies = { module=install-target-libitm; on=install-target-libgcc; }; 563dependencies = { module=install-target-libitm; on=install-target-libgcc; };
556dependencies = { module=install-target-libobjc; on=install-target-libgcc; }; 564dependencies = { module=install-target-libobjc; on=install-target-libgcc; };