summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
* Switch from yasm to nasm.HEADmasterAnton Khirnov2020-06-17
|
* make.config.rules: add support for yasm filesAnton Khirnov2016-02-27
|
* add known support for linux-gnueabi (linux)knarf2013-10-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.5.0eschnett2013-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5044 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add more checks when checking for C99 featureseschnett2013-08-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5043 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve argument nameeschnett2013-08-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5042 17b73243-c579-4c4c-a9d2-2d5706c11dac
* expand error message for CCTK_DISABLE_OMP_COLLAPSE to contain instructions ↵rhaas2013-08-06
| | | | | | for fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@5039 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add CCTK_BUILTIN_ASSUME_ALIGNEDeschnett2013-07-07
| | | | | | | | | This checks whether the GCC extension __builtin_assume_aligned is available, which can generate more efficient code when accessing data via pointers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5033 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.4.0eschnett2013-06-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5025 17b73243-c579-4c4c-a9d2-2d5706c11dac
* trigger reconfigure after r5014 "Auto-configure static_assert"rhaas2013-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@5021 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Auto-configure static_asserteschnett2013-05-20
| | | | | | | | Check whether static_assert is supported by C++. Define a work-around if it is not supported. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5014 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Workaround for compiler-bug with Intel compiler and 'restrict'.knarf2013-05-06
| | | | | | | | | | | | | | | | | | | | | See https://trac.einsteintoolkit.org/ticket/1276 Add conditional on the version of the (Intel) compiler for all CCODE. Then, for C and CXX separately, skip the autoconf-provided values for 'restrict' if the compiler was found to be bad, and instead let HAVE_CCTK_CXX_RESTRICT remain undefined and set CCTK_CXX_RESTRICT to empty, which later defines 'restrict' to empty too (similarly for C). Because someone might actually want to overwrite this, CCTK_INTEL_COMPILER_DONT_DISABLE_RESTRICT is checked, and if set, doesn't disable restrict even for bad compilers. Also, now all Intel compilers with build dates between 20121010 and 20130313 are flagged 'bad'. Others might need to be added later. git-svn-id: http://svn.cactuscode.org/flesh/trunk@5001 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.3.0eschnett2013-03-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4984 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct autoconf of __builtin_unreachable()eschnett2013-03-05
| | | | | | | | Correct autodetection of __builtin_unreachable() Correct fallback implementation of CCTK_BUILTIN_UNREACHABLE git-svn-id: http://svn.cactuscode.org/flesh/trunk@4976 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Regenerateeschnett2013-03-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4973 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct syntax error when checking for attribute(format)eschnett2013-03-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4972 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use C (instead of C++) autoconf results in some caseseschnett2013-03-04
| | | | | | | Some C++ autoconf results were erroneously used for C code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4971 17b73243-c579-4c4c-a9d2-2d5706c11dac
* force reconfigure after r4968 introduced a new variable XARGSrhaas2013-02-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4969 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configuration option XARGS (much like TAR) to define the location of theknarf2013-02-27
| | | | | | | | 'xargs' command. This shouldn't be necessary on almost all systems, but sadly is on a few. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4968 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve fall-back for __builtin_unreachable()eschnett2013-02-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4965 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implement CCTK_Error and friendseschnett2013-02-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4962 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Currently, known_architectures/linux only looks at the first line of '$F77knarf2013-02-21
| | | | | | | | | | | | | | | | | | | | | --version' to determine the version of a gnu-type fortran compiler. However, on bluewaters this returns {{{ /opt/cray/xt-asyncpe/5.16/bin/ftn: INFO: Compiling with CRAYPE_COMPILE_TARGET=native. GNU Fortran (GCC) 4.7.2 20120920 (Cray Inc.) Copyright (C) 2012 Free Software Foundation, Inc. }}} The information the script is actually interested in is on the second line, not the first. Thus, I propose the attached patch (grepping for "GNU" before choosing the first line). I didn't find a problem with this patch on other machines, but there might be in case $F77 --version does not contain GNU in the line with the version. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4958 17b73243-c579-4c4c-a9d2-2d5706c11dac
* correctly quote regular expressions in aclocal.m4rhaas2013-02-08
| | | | | | | | | | | | | | | m4 uses square brackets as quotation characters and removes one set of them per argument call. This affects regular expressions that contain character ranges. This in turn affect some HAVE_XXX macros where XXX contains invalid characters eg. XXX=math.h . The attached patch adds an extra level of [] around where the result is passed to a function. Also it seems as if the system provided AC_CHECK_FUNCS does not properly quote its third argument when passing it to AC_CHECK_FUNC. Hence I add an extra round of [] whenever it is used. This is a mess. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4953 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support IBM Blue Gene compilerseschnett2013-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4949 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make CCTK_REAL16 more flexibleeschnett2013-01-15
| | | | | | | | | Instead of assuming that CCTK_REAL16 is real*16 in Fortran, allow any real*N for user-specified values of N. This enables using CCTK_REAL16 e.g. with gcc versions that call it real*10. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4935 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autoconf attribute always_inlineeschnett2013-01-15
| | | | | | | | Add autoconf test for __attribute__((__always_inline__)). Improve autoconf test for _Pragma syntax. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4934 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Output "Done" after building executableeschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4931 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove debug statementeschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4930 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configure macro for OpenMP collapse clauseeschnett2012-11-18
| | | | | | | | Disable OpenMP collapse clause for certain versions of the Intel compiler that are known to mis-compile them. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4913 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.1.1eschnett2012-11-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4911 17b73243-c579-4c4c-a9d2-2d5706c11dac
* improve upon error message for missing Fortran compilerknarf2012-11-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4908 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add configuration options allowing moving all object files into the executableeschnett2012-10-28
| | | | | | | | | | | Add configuration options allowing people to ensure that all thorn source files make it into the executable. Among other things, this ensures that each routine has a unique name. This is disabled by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTKi_VarDataPtrI in CCTK_DECLARE_ARGUMENTSeschnett2012-10-26
| | | | | | | | Introduce new function CCTKi_VarDataPtrI which does not emit warnings. Use it when defining CCTK_DECLARE_ARGUMENTS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4898 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add autoconf check whether C99 is supportedeschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check availability of isnan in C++eschnett2012-10-22
| | | | | | | | | | Check availability of isnan in C++. Introduce autoconf macros specifying how to call a good version of isnan in any language. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4881 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.2.0eschnett2012-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4875 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 12.1.0eschnett2012-08-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4863 17b73243-c579-4c4c-a9d2-2d5706c11dac
* reintroduce dependency fixup to avoid full compile when thornlist changesrhaas2012-08-11
| | | | | | | | | | this fixes an issue introduced in r4839 where the original patch removed special treatment for three (or so) files, assuming that these files are not generated any more. This was wrong, and this patch reverts special treatment for one of these files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force reconfiguringeschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take $(CFLAGS) or $(CXXFLAGS) into account when determining dependencieseschnett2012-08-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4858 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve flesh MPI configuration messageshinder2012-08-03
| | | | | | Avoid confusion now that the flesh MPI support is deprecated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4856 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 12.0.0 (OS X 10.8.0)eschnett2012-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make cleandeps a no-op if build directory does not existrhaas2012-07-25
| | | | | | | eg. because of a previous realclean git-svn-id: http://svn.cactuscode.org/flesh/trunk@4853 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.2eschnett2012-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4852 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct dependency calculation for CUDAeschnett2012-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4850 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move MPI support from flesh to a thorneschnett2012-07-21
| | | | | | | | | | | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list. * Declare that the flesh optionally uses MPI (because it needs to call MPI_Init) * Update test case mechanism to find out whether MPI is used * Handle configuration bindings for flesh * Don't special-case Crays any more when configuring Linux git-svn-id: http://svn.cactuscode.org/flesh/trunk@4847 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct error in determining dependencieseschnett2012-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4843 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for ticket #768sbrandt2012-06-18
| | | | | | | | Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx git-svn-id: http://svn.cactuscode.org/flesh/trunk@4839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct errors in handling optional capabilitieseschnett2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4835 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 11.4.0 (Mac OSX 10.7.4)eschnett2012-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4821 17b73243-c579-4c4c-a9d2-2d5706c11dac