daan
a74c05c6c0
Merge branch 'dev' into dev-slice
2022-01-10 16:21:15 -08:00
Daan Leijen
05c2a51211
merge from master
2022-01-10 16:20:22 -08:00
daan
ae1c06d940
merge from dev
2022-01-10 15:29:49 -08:00
akarin
3d91c0e737
cmake: export mimalloc-static as well
...
Otherwise a static only build would not be usable as cmake package
(as mimalloc.cmake wouldn't be generated).
Signed-off-by: akarin <i@akarin.info>
2021-12-26 18:17:53 +09:00
Frank Richter
969f3a6998
Add tests for zero-initialization functions
2021-12-21 16:20:56 +01:00
Frank Richter
51271ba8ea
Replace redundant CMake code for tests with a loop
2021-12-21 12:54:15 +01:00
daan
2af1db7f3a
Merge branch 'dev' into dev-slice
2021-12-15 19:29:04 -08:00
daan
ee3ae2a425
add deprecated notice
2021-12-15 08:53:55 -08:00
daan
60ca554413
Merge branch 'dev' into dev-slice
2021-12-15 08:47:00 -08:00
daan
144b4a2d3e
link with libatomic automatically if found
2021-12-15 08:42:58 -08:00
daan
b7d33c2c33
fix MI_ prefix for libraries
2021-12-15 08:41:52 -08:00
Daan
d15f5fae64
merge from dev
2021-12-14 18:29:58 -08:00
Daan
69b6b24688
further improvements to installation directories
2021-12-14 18:29:14 -08:00
Daan
1bbc184082
Merge pull request #493 from viy2/pull_request_on_dev
...
Pull request for issue #490 : set SOVERSION for mimalloc shared lib
2021-12-13 17:26:12 -08:00
Daan
d575aacfde
use find_library for pthread (issue #496 )
2021-12-13 13:10:33 -08:00
Igor Vlasenko
acc64ee5cd
added SOVERSION to mimalloc shared lib (issue #490 )
...
This is a portability improvement.
A cross-platform library needs SOVERSION field for Unix platforms.
With SOVERSION field cmake itself will do proper management of
libmimalloc.so.SOVERSION -> libmimalloc.so.VERSION symlink on Unix,
so a piece of code that tried to emulate this behavior manually
is no more needed and is removed here too.
2021-11-28 19:59:09 +02:00
daan
6efd78c5e0
remove O3 flag
2021-11-15 10:52:39 -08:00
daan
4a456ba054
Merge branch 'dev' into dev-slice
2021-11-15 10:52:17 -08:00
daan
1c22650719
remove no-invalid-memory-model supression
2021-11-15 10:52:09 -08:00
Daan
18fc788201
merge from dev
2021-11-14 15:39:05 -08:00
Daan
5e55525e5e
Merge pull request #483 from joy4eg/install-dirs-dev
...
cmake: removed hardcoded names for top level configuration
2021-11-14 14:49:48 -08:00
daan
97a1584bb5
Merge branch 'dev' into dev-slice
2021-11-13 13:30:17 -08:00
daan
c56be7ac5a
show cflags in cmake; fix -fno-builtin-malloc flag
2021-11-13 13:30:03 -08:00
daan
c6b82a4b37
wip: change decommit expiration
2021-11-12 17:31:21 -08:00
Daan
464cba833e
Merge branch 'dev' into dev-slice
2021-11-04 18:55:34 -07:00
Daan
c47de7eb90
improve macOS overriding
2021-11-04 18:55:12 -07:00
Daan
f3ffa663f1
merge from dev
2021-11-02 22:42:25 -07:00
Daan
32ee13f41e
improve macOS M1 performance; use interpose in combination with zone's; add -fno-builtin-malloc flag in building with MI_OVERRIDE
2021-11-02 21:54:44 -07:00
Yaroslav Syrytsia
0ead911b6b
cmake: removed hardcoded names for top level configuration
2021-10-28 12:04:48 +03:00
Daan
de00de96fd
merge with dev
2021-10-20 09:56:03 -07:00
Daan
e02f88a11c
Fix warnings with g++-11 compilation
2021-10-20 09:55:03 -07:00
Daan
b47d0802d1
Merge branch 'dev' into dev-slice
2021-10-20 09:36:08 -07:00
Daan
4d89176eb4
add MI_USE_LIBATOMIC to link with -latomic on older systems (see also PR #429 ); rename MI_INTERPOSE to MI_OSX_INTERPOSE
2021-10-20 09:35:58 -07:00
Daan
aeb73b0cd4
merge from dev
2021-10-19 12:55:10 -07:00
Daan
2d821003b0
don't add prefix if build type is None (PR #427 )
2021-10-19 10:56:13 -07:00
Daan
b4a5c8459d
Merge pull request #461 from objectx/patch-1
...
fix: Fix a typo
2021-10-19 10:25:16 -07:00
Daan
a4078df9d5
Merge branch 'dev' into dev-slice
2021-10-19 10:17:53 -07:00
Daan
60937b5bc8
add -Wstrict-prototypes flag during compilation
2021-10-19 09:39:33 -07:00
Masashi Fujita
9ee780894a
fix: Fix a typo
2021-09-16 03:35:56 +09:00
Daan Leijen
5869c85749
merge from dev
2021-06-17 19:18:57 -07:00
Daan Leijen
a83bca72b3
fixes for M1; disable interpose use zones; fix pedantic warnings
2021-06-17 19:15:09 -07:00
Daan Leijen
6ba9387bf8
Merge branch 'dev' into dev-slice
2021-06-07 17:51:42 -07:00
Daan Leijen
c8b5b74500
improve warnings
2021-06-07 17:51:27 -07:00
Daan Leijen
9974b0ee23
Merge branch 'dev' into dev-slice
2021-06-07 16:51:14 -07:00
Daan Leijen
4ba32c3160
Revert "make all includes relative"
...
This reverts commit 1feb6123d9
.
2021-06-07 16:47:57 -07:00
Daan Leijen
7b595bd957
Merge branch 'dev' into dev-slice
2021-06-06 20:31:53 -07:00
Daan Leijen
1feb6123d9
make all includes relative
2021-06-06 20:31:36 -07:00
Daan Leijen
54b2c3525c
merge with dev
2021-05-21 15:36:30 -07:00
Daan Leijen
e2c095fad2
fix installation directories on unix to use /lib, /include, /share; fix issues #399 , #223 , and #89
2021-05-21 15:15:50 -07:00
Daan Leijen
34172910e5
fix symlink and --prefix option with delayed CMAKE_INSTALL_PREFIX; fix issue #398
2021-05-21 13:01:11 -07:00