Commit graph

102 commits

Author SHA1 Message Date
Alexandre Bouvier
4bf4d6565e cmake: allow shared llvm linking 2022-12-31 23:14:38 +00:00
Merry
31a684361f tests: Update to Catch2 v3 2022-12-31 17:28:34 +00:00
Alexandre Bouvier
6ac0b249f7 cmake: support standard ctest option 2022-12-31 16:15:55 +00:00
Merry
eb7fca3e8f dynarmic: 6.4.2 2022-12-31 15:05:27 +00:00
Merry
093f606316 dynarmic: 6.4.1 2022-12-30 23:06:22 +00:00
Merry
8371465690 CMakeLists: Use system mcl when available 2022-12-28 19:30:58 +00:00
Merry
bd570e093c 6.4.0 2022-12-03 21:11:36 +00:00
Merry
8f9838e9b0 CMakeLists: Add DYNARMIC_USE_BUNDLED_EXTERNALS to enable bundling with one flag
Convenience.
2022-11-30 00:28:48 +00:00
Alexandre Bouvier
905d822810 cmake: multiple simplifications 2022-11-26 15:52:30 +00:00
Andrea Pappacoda
7414f76ce9 build: only require Zydis on x86
Zydis is only used on x86, and this patch allows compilation on ARM
without Zydis installed.
2022-11-24 16:09:13 +00:00
ameerj
a5b57bb9cd CMake: Add option to use precompiled headers 2022-11-22 17:49:13 +00:00
Merry
df72827b09 dynarmic: 6.3.1 2022-11-21 21:02:38 +00:00
Merry
5e2206d0e9 dynarmic: 6.3.0 2022-11-19 21:42:42 +00:00
Merry
07c614f91b dynarmic: 6.2.4 2022-11-19 20:07:34 +00:00
GPUCode
a62dc19605 cmake: Bump minimum required cmake version
Version 3.12 is the minimum that supports the value of 20 for CMAKE_CXX_STANDARD. Also remove /std:c++latest to get rid of compiler logspam
2022-08-15 21:00:01 +01:00
Merry
2d4602a651 6.2.3 2022-07-26 13:06:05 +01:00
Merry
35b1da4b1f 6.2.2 2022-07-26 11:21:37 +01:00
Merry
91d1f944e3 6.2.1 2022-07-17 22:42:56 +01:00
Merry
1f0a43753e 6.2.0 2022-07-15 09:30:49 +01:00
Merry
9ebf6a8384 6.1.1 2022-07-11 20:59:25 +01:00
Merry
6c913e8913 6.1.0 2022-07-07 23:46:59 +01:00
Merry
ff47d0de72 externals: Remove vixl 2022-06-28 14:43:04 +01:00
Merry
7f84870712 6.0.1 2022-06-22 00:09:43 +01:00
Merry
94f84cf1ef Version bump to 6.0.0
Version bump to start semantic versioning
2022-06-21 21:44:19 +01:00
Alexandre Bouvier
9d369436d8 cmake: Fix unicorn and llvm 2022-03-22 20:27:01 +00:00
Andrea Pappacoda
e4b669fd5b build: remove extra include path for system vixl
As far as I know the only pkg-config file provided by Vixl is the one generated by Meson when applying my yet to be merged patch.

That extra include path was needed because I mistakenly thought that adding `vixl` as an include subdirectory was not necessary, but I fixed it in my latest revision - more details here: https://github.com/Linaro/vixl/pull/7#discussion_r778167004

The fix already landed in Debian and Ubuntu, that as far as I know are the only Linux distros that ship my patch, so manually adding that include directory shouldn't be necessary anymore
2022-03-13 20:24:26 +00:00
Merry
5092972843 CMakeLists: Use system vixl when able 2022-02-26 13:35:36 +00:00
Andrea Pappacoda
4dcebc1822 build(cmake): add install target
This makes dynarmic installable, and also adds a CMake package config
file, that allows projects to use `find_package(dynarmic)` to import the
library.

I know #636 adds the same thing, but while experimenting with the
different install options in
https://github.com/merryhime/dynarmic/pull/636#discussion_r725656034
I ended up with a working patch, so I'm proposing this as well. This
implements solution 2.
2021-10-30 19:03:23 +01:00
Andrea Pappacoda
b87a889d98 build(cmake): add version and soversion to the library
This adds versioning information to the built library.

When building the shared library on Linux systems, a new object will
be created: libdynarmic.so.5

This is really useful when talking about ABI compatibility.

The variables dynarmic_VERSION and dynarmic_VERSION_MAJOR
are implicitly created when calling project(dynarmic VERSION x.y.z)
2021-10-11 06:53:05 +01:00
ameerj
55bede81f8 CMake: Fix fmt target check 2021-10-11 06:52:52 +01:00
merry
1697902948
Merge pull request #641 from abouvier/unbundle
CMakeLists: Add options to unbundle most external libraries
2021-08-25 07:56:12 +01:00
Alexandre Bouvier
352898e88b cmake: Add options to unbundle Zydis 2021-08-24 12:28:44 +02:00
Merry
2e4f99ae3d CMakeLists: Expose DYNARMIC_IGNORE_ASSERTS option 2021-08-15 16:09:37 +01:00
Merry
3b4459d112 CMakeLists: Enable C++20 support 2021-08-15 15:17:01 +01:00
Alexandre Bouvier
04b1c78166 cmake: Add checks for projects using dynarmic as subproject 2021-08-10 16:16:02 +02:00
Alexandre Bouvier
33b89cca08 cmake: Add options to unbundle some externals 2021-08-10 16:05:38 +02:00
Merry
714216fd0e Consolidate all source files into src/ directory 2021-05-19 17:41:59 +01:00
MerryMage
7bc9e36ed7 emit_x64_floating_point: Optimize 32-bit EmitFPRSqrtEstimate 2021-04-26 00:26:28 +01:00
MerryMage
52a9af3dca CMakeLists: Rework architecture detection
* Also only enable xybak/vixl on appropriate architectures
2021-03-02 20:41:38 +00:00
MerryMage
b841ce1df5 CMakeLists: Increase maximum bracket depth for Clang
See also: https://reviews.llvm.org/D86936
Bracket depth limits size of fold expression which in turn limits size of std::array initialization via CTAD
2021-02-16 20:12:10 +00:00
MerryMage
e85a08ec34 CMakeLists: MSVC: Weaken warning level for externals 2020-05-26 20:52:06 +01:00
MerryMage
d0075f4ea6 print_info: Use LLVM to disassemble A32 2020-05-17 22:30:46 +01:00
MerryMage
69061d87fa exception_handler_windows: Ignore irrelevant exceptions 2020-04-23 20:58:24 +01:00
MerryMage
e41fef4a2a CMakeLists: option only works for boolean settings 2020-04-22 21:06:18 +01:00
MerryMage
7c917f1c12 CMakeLists: Add DYNARMIC_FRONTENDS option
Allows library user to select which frontends to enable
2020-04-22 21:06:18 +01:00
MerryMage
2d348d2d68 backend/x64: Add macOS exception handler with fastmem support 2020-04-22 21:06:18 +01:00
MerryMage
6edc95e9eb CMakeLists: Put -Wfatal-errors behind a CMake flag 2020-04-22 21:04:23 +01:00
Lioncash
9d33ea3136 CMakeLists: Specify the /volatile flag with standard-conforming semantics
Makes Windows builds more standard-compliant. Given we currently make no
use of volatile, and the libraries we currently use don't use it any
meaningful way, this is safe to specify without worrying.
2020-04-22 21:02:47 +01:00
Lioncash
0d3375fc22 CMakeLists: Add /Zc:externConstexpr compilation flag
Improves standard conformance on Windows builds.
2020-04-22 21:02:47 +01:00
Lioncash
3b2b47b522 CMakeLists: Remove setting of CMAKE_WARN_DEPRECATED
CMake documentation states:
    "If this variable is not set, CMake behaves as if it were set to TRUE."

So this isn't needed, as it's the default behavior.
2020-04-22 21:02:47 +01:00