Commit graph

16 commits

Author SHA1 Message Date
Michael Orlitzky
7a2704ffbf CMakeLists.txt: support standard GNU installation directories
Modern systems have varied naming schemes for their 32- and 64-bit
library directories. For example, Gentoo uses /usr/lib for 32-bit
libraries and /usr/lib64 for 64-bit libraries. The current default of
"lib" in CMakeLists.txt is therefore inappropriate in the common case
of a 64-bit build on Gentoo. Debian makes a similar (but different)
distinction.

This commit uses the GNUInstallDirs module to determine the library
directory, as well as all of the other standard GNU installation
directories. A sensible default exists, but the user now has the
ability to override these directories with the values appropriate for
his system. Distributions, in particular, can pass these values to the
build system in a consistent way.
2021-04-08 20:15:45 -04:00
Isuru Fernando
360fc76291 Fix Arb DLL name 2020-04-29 10:39:16 -05:00
Isuru Fernando
97d5a522ae Fix link order 2020-04-29 10:39:16 -05:00
Isuru Fernando
d1f98eafed Rename option to match flint2 2020-04-29 10:39:15 -05:00
Isuru Fernando
bb09a0ae18 Don't redefine macros 2020-04-29 10:39:15 -05:00
Isuru Fernando
5aa0a32fbd Add SOVERSION in CMake and fix threads 2019-11-05 20:06:29 -08:00
Marek Nečada
b4114a1ca5 Remove NO_DEFAULT_PATH from CMakeLists.txt. 2019-10-28 09:36:02 +02:00
Isuru Fernando
f675a0465f target_compile_definitions require CMake >=2.8.12 2016-11-07 16:26:54 +05:30
Isuru Fernando
2ea099d1e7 Remove PTW32_BUILD flag 2016-11-07 16:21:00 +05:30
Isuru Fernando
cc8420eed3 Add ARB_BUILD_DLL only to the library 2016-11-06 23:37:40 +05:30
Isuru Fernando
d6f9129951 Add support for dll 2016-11-06 23:37:40 +05:30
Isuru Fernando
15ec3e829c Don't build tests by default 2016-10-14 17:27:53 +05:30
Isuru Fernando
75b2dc0f6d List folders automatically in cmake 2016-10-14 11:58:37 +05:30
Isuru Fernando
eb35ad5fb3 Add HAVE_TLS=1 to cl.exe and fix TLS_PREFIX
This also fixes last MSVC error where
arb_const_pi_cached_value was stored globally and two threads
trying to update it corrupted it. As a result
arb_rel_accuracy_bits gave a negative value and resulted
in a flint memory exception.
2016-10-13 23:46:14 +05:30
Isuru Fernando
015eaf6b52 Fix errors 2016-10-12 00:20:00 +05:30
Isuru Fernando
84e80f0093 Add CMakeLists.txt 2016-06-24 16:19:27 +05:30