aboutsummaryrefslogtreecommitdiff
path: root/libomptarget/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2019-01-19Update more file headers across all of the LLVM projects in the monorepoChandler Carruth
to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@351648 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-02[libomptarget] Added install component for libomptargetVyacheslav Zakharin
Differential Revision: https://reviews.llvm.org/D56108 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@350254 91177308-0d34-0410-b5e6-96231b3b80d8
2018-05-25[CMake] Unify install path for librariesJonas Hahnfeld
Introduce OPENMP_INSTALL_LIBDIR and use in all install() commands. This also fixes installation of libomptarget-nvptx that previously didn't honor {OPENMP,LLVM}_LIBDIR_SUFFIX. Differential Revision: https://reviews.llvm.org/D47130 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@333284 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06[libomptarget] Split implementation of interface functionsJonas Hahnfeld
This last of four patches adds a new file for the interface functions that Clang uses during code generation. The only change except simply moving the current code is renaming the function CheckDeviceAndCtors() and using the correct type for 64bit device ids. Differential Revision: https://reviews.llvm.org/D40801 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@319972 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06[libomptarget] Split implementation of API functionsJonas Hahnfeld
This third patch moves the implementation of the user-facing OpenMP API functions into its own file. For now, the code is only moved, no cleanups applied yet. Differential Revision: https://reviews.llvm.org/D40800 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@319971 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06[libomptarget] Split device functionalityJonas Hahnfeld
This is the second patch to split the current monolithic implementation into separate files. Note that this change doesn't cleanup the code yet. Differential Revision: https://reviews.llvm.org/D40799 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@319970 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06[libomptarget] Split RTL plugin functionalityJonas Hahnfeld
This is the first of four patches to split the target agnostic library into multiple (smaller) files. It only moves the code to separate implementation files and does no cleanup (yet) except removing unneeded headers. Differential Revision: https://reviews.llvm.org/D40798 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@319969 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-06[libomptarget] Move header files and CMake library definitionJonas Hahnfeld
Future patches will add (private) header files in src/ that should not be visible to plugins, so move the "public" ones to a new include/ directory. This is still internal in a sense that the contained files won't be installed for the user. Similarly, the target agnostic offloading library should be built directly in src/. The parent directory is responsible for finding dependencies and including all subdirectories. Differential Revision: https://reviews.llvm.org/D40797 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@319968 91177308-0d34-0410-b5e6-96231b3b80d8