summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Update isl to isl-0.19-224-gce84a511Tobias Grosser2018-07-061-0/+1
| | | | | | | | This is a maintenance update. Besides many minor changes it ships two functions "isl_*_list_size" and "isl_*_list_get_at" which will allow us to simplify the iterator implementation in Polly. llvm-svn: 336425
* Update isl to isl-0.19-185-g8e9f55ceTobias Grosser2018-06-111-0/+1
| | | | | | This is mainly a maintenance update. llvm-svn: 334406
* Update isl to isl-0.19-107-gc4fe33d8Tobias Grosser2018-04-211-0/+4
| | | | | | This is a regular maintenance update. llvm-svn: 330496
* Silence msvc warning on isl. NFC.Michael Kruse2018-04-051-0/+1
| | | | | | | | | | | | | | | | | The warning is: isl_union_map.c(2041): warning C4221: nonstandard extension used: 'filter_user': cannot be initialized using address of automatic variable 'data' for the following code (and others) struct isl_un_op_drop_user_data data = { &isl_set_is_wrapping }; struct isl_un_op_control control = { .filter = &un_op_filter_drop_user, .filter_user = &data, .fn_map = &isl_set_wrapped_domain_map, }; llvm-svn: 329328
* Update isl to isl-0.18-1047-g4a20ef8Tobias Grosser2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | This update: - Removes several deprecated functions (e.g., isl_band). - Improves the pretty-printing of sets by detecting modulos and "false" equalities. - Minor improvements to coalescing and increased robustness of the isl scheduler. This update does not yet include isl commit isl-0.18-90-gd00cb45 (isl_pw_*_alloc: add missing check for compatible spaces, Wed Sep 6 12:18:04 2017 +0200), as this additional check is too tight and unfortunately causes two test case failures in Polly. A patch has been submitted to isl and will be included in the next isl update for Polly. llvm-svn: 325557
* [CMake] Use only keyword-version of target_link_library. NFC.Michael Kruse2018-01-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | CMake insists that for each target, one uses only the non-keyword version of target_link_library target_link_library(mytarget lib) or the one with PUBLIC/PRIVATE/INTERFACE keyword: target_link_library(mytarget PUBLIC lib) Otherwise, CMake fails with the error message: The keyword signature for target_link_libraries has already been used with the target "mytarget". All uses of target_link_libraries with a target must be either all-keyword or all-plain. Change all occurances of target_link_library to the newer keyworded version to avoid such errors. Some already have been changed in r319840, but might not be sufficient for all build configurations to build the doxygen manual. Reported-by: Tanya Lattner <tanyalattner@llvm.org> llvm-svn: 322376
* [PPCG] [2/3] Make polly specific PPCG Changes.Siddharth Bhat2017-07-201-1/+7
| | | | | | | | | | | | | | | - This commit *WILL NOT COMPILE*. `PPCGCodeGeneration` requires changes since some of PPCG's internal data structures have been modified. - Has polly-speific changes to PPCG. Polly exports certain functionality that is private to PPCG. It also creates stubs for large parts of the pet API as well as other functions in `ppcg/external.c` to keep the linker happy. - This commit includes changes to CMakeLists.txt. Differential Revision: https://reviews.llvm.org/D35676 llvm-svn: 308624
* Test commitNAKAMURA Takumi2017-06-291-1/+1
| | | | llvm-svn: 306657
* [Cmake] Optionally use a system isl version.Michael Kruse2017-02-271-146/+150
| | | | | | | | | | | | | | | This patch adds an option to build against a version of libisl already installed on the system. The installation is autodetected using the pkg-config file shipped with isl. The detection of the library is in the FindISL.cmake module that creates an imported target. Contributed-by: Philip Pfaffe <philip.pfaffe@gmail.com> Differential Revision: https://reviews.llvm.org/D30043 llvm-svn: 296361
* [Cmake] Install the isl headers into the install tree.Michael Kruse2017-02-201-0/+14
| | | | | | | | | | | | | | | | | | | | isl headers are currently missing in a Polly installation. Because the Polly headers depend on those, code can't be compiled against an installed Polly. This patch installs the isl headers. I left a TODO, as optionally it should be possible to use a system version of isl instead of the one shipped with Polly. When compiling, clients of the installation need to add -I${PREFIX}/include/polly/ to there include path right now, because there currently is no way to export this path automatically. Contributed-by: Philip Pfaffe <philip.pfaffe@gmail.com> Differential Revision: https://reviews.llvm.org/D29931 llvm-svn: 295671
* Update to isl-0.17.1-314-g3106e8dMichael Kruse2016-12-061-0/+1
| | | | | | | | | | | | This version includes an update for imath (isl-0.17.1-49-g2f1c129). It fixes the compilation under windows, which does not know ssize_t. In addition, isl-0.17.1-288-g0500299 changed the way isl_test finds the source directory. It now generates a file isl_srcdir.c at configure-time, containing the source path, to not require setting the environment variable "srcdir" at test-time. The cmake build system had to be modified to also generate that file. llvm-svn: 288811
* Minor changeHongbin Zheng2016-11-211-1/+1
| | | | llvm-svn: 287562
* [cmake] Avoid warnings in feature tests. NFC.Michael Kruse2016-10-201-5/+5
| | | | | | | | | | Apply the __attribute__((unused)) before the function to unambiguously apply to the function declaration. Add more casts-to-void to mark return values unused as intended. Contributed-by: Andy Gibbs <andyg1001@hotmail.co.uk> llvm-svn: 284718
* cmake: avoid "zero-length gnu_printf format string" warning in gcc 6.1.1Tobias Grosser2016-10-151-2/+2
| | | | | Contributed-by: Andy Gibbs <andyg1001@hotmail.co.uk> llvm-svn: 284302
* Define PATH_MAX on windowsHongbin Zheng2016-10-071-0/+6
| | | | | | Differential Revision: https://reviews.llvm.org/D25372 llvm-svn: 283600
* [cmake] Unify disabling upstream project warnings.Michael Kruse2016-10-071-25/+14
| | | | | | | | Handle MSVC, ISL and PPCG in one place. The only functional change is that warnings are also disabled for MSVC compiling PPCG (Which currently fails anyway). llvm-svn: 283547
* [cmake] Move isl_test artifacts to Polly folder.Michael Kruse2016-10-071-0/+1
| | | | | | | Folders in Visual Studio solutions help organize the build artifacts from all LLVM projects. There is a folder to keep Polly-built files in. llvm-svn: 283546
* Build and run isl_test as part of check-pollyTobias Grosser2016-10-041-1/+15
| | | | | | | | | | | | | | | | | | | | Running isl tests is important to gain confidence that the isl build we created works as expected. Besides the actual isl tests, there are also isl AST generation tests shipped with isl. This change only adds support for the isl unit tests. AST generation test support is left for a later commit. There is a choice to run tests directly through the build system or in the context of lit. We choose to run tests as part of lit to as this allows us to easily set environment variables, print output only on error and generally run the tests directly from the lit command. Reviewers: brad.king, Meinersbur Subscribers: modocache, brad.king, pollydev, beanz, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D25155 llvm-svn: 283245
* isl: update to isl-0.17.1-233-gc911e6aTobias Grosser2016-10-011-0/+1
| | | | llvm-svn: 283049
* cmake: PollyPPCG depends on PollyISLTobias Grosser2016-09-131-0/+2
| | | | | | | This line makes BUILD_SHARED_LIBS=ON work for Polly-ACC. Without it, ld complains about missing isl symbols when constructing the shared library. llvm-svn: 281396
* Remove -fvisibility=hidden and FORCE_STATIC.Michael Kruse2016-09-121-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The flag -fvisibility=hidden flag was used for the integrated Integer Set Library (and PPCG) to keep their definitions local to Polly. The motivation was the be loaded into a DragonEgg-powered GCC, where GCC might itself use ISL for its Graphite extension. The symbols of Polly's ISL and GCC's ISL would clash. The DragonEgg project is not actively developed anymore, but Polly's unittests need to call ISL functions to set up a testing environment. Unfortunately, the -fvisibility=hidden flag means that the ISL symbols are not available to the gtest executable as it resides outside of libPolly when linked dynamically. Currently, CMake links a second copy of ISL into the unittests which leads to subtle bugs. What got observed is that two isl_ids for isl_id_none exist, one for each library instance. Because isl_id's are compared by address, isl_id_none could happen to be different from isl_id_none, depending on which library instance set the address and does the comparison. Also remove the FORCE_STATIC flag which was introduced to keep the ISL symbols visible inside the same libPolly shared object, even when build with BUILD_SHARED_LIBS. Differential Revision: https://reviews.llvm.org/D24460 llvm-svn: 281242
* Disable MSVC warnings on ISL.Michael Kruse2016-09-071-0/+11
| | | | | | | | Disable some Visual C++ warnings on ISL. These are not reported by GCC/Clang in the ISL build system. We do not intend to fix them in the Polly in-tree copy, hence disable these warnings. llvm-svn: 280811
* Add ppcg-0.04 to lib/ExternalTobias Grosser2016-07-131-6/+58
| | | | | | | | | | | | | | | | | | | | | | | ppcg will be used to provide mapping decisions for GPU code generation. As we do not use C as input language, we do not include pet. However, we include pet.h from pet 82cacb71 plus a set of dummy functions to ensure ppcg links without problems. The version of ppcg committed is unmodified ppcg-0.04 which has been well tested in the context of LLVM. It does not provide an official library interface yet, which means that in upcoming commits we will add minor modifications to make necessary functionality accessible. We will aim to upstream these modifications after we gained enough experience with GPU generation support in Polly to propose a stable interface. Reviewers: Meinersbur Subscribers: pollydev, llvm-commits Differential Revision: http://reviews.llvm.org/D22033 llvm-svn: 275274
* Update to isl-0.16.1-145-g243bf7cTobias Grosser2016-03-251-0/+1
| | | | | | | Just an import to keep track with the latest version of isl. We are not looking for specific features. llvm-svn: 264452
* Update to isl-0.16.1-68-g8fad211Tobias Grosser2016-02-261-0/+1
| | | | | | | | This commit updates to the latest isl development version. There is no specific feature we need on the Polly side, but we want to ensure test coverage for the latest isl changes. llvm-svn: 262001
* Fix configure checks when applied by the latest clangDavid Blaikie2015-10-061-3/+3
| | | | | | | | | | | | Clang's been taught to warn on more things here (unused values when calling pure functions and ignoring their result, for example). It might be better to figure out how to have cmake compile these tests without -Werror/without any warnings enabled. But this'll do for now & I don't know enough about cmake to fix it any other way, or to understand the tradeoffs in that space. llvm-svn: 249472
* [cmake] terminate isl/stdint.h with a newlineTobias Grosser2015-09-251-1/+1
| | | | | | | This avoids warnings of the form: stdint.h:1:20: warning: no newline at end of file [-Wnewline-eof] llvm-svn: 248570
* Rename Polly_isl to PollyISLMichael Kruse2015-09-241-3/+3
| | | | | | Library names in the LLVM framework usually do not contain underscores. llvm-svn: 248487
* Compile ISL into its own libraryMichael Kruse2015-09-241-0/+278
Refactor all ISL-related cmake build instructions into its own CMakeLists.txt and build as a separate library. This is useful to apply ISL-related build flags to ISL only and not to Polly's files. Also, it the separation of both projects becomes clearer. Proposed name of the library is Polly_isl. It is not "isl" to avoid mix-up with potentially installed libisl.{a|so}. Tested configurations: - Windows with cmake 3.2 - Ubuntu with cmake 3.0.2 - Ubuntu with cmake 3.0.2 BUILD_SHARED_LIBS on - Ubuntu with cmake 2.8.12.2 (LLVM minimum version) - Ubuntu out-of-LLVM-tree Differential Revision: http://reviews.llvm.org/D12810 llvm-svn: 248484
OpenPOWER on IntegriCloud