Commit Graph

6 Commits

Author SHA1 Message Date
tevador 708a4e50c5 Fix compilation and JIT support on NetBSD:
1. Disable hugepages (not supported).
2. Force W^X (required).
3. When allocating JIT memory, PROT_EXEC must be reserved
   in order to set the pages executable later.
2020-06-28 16:16:20 +02:00
tevador aa19c5b9b6 Disable thread affinity on FreeBSD and Android 2019-12-01 20:41:20 +01:00
ston1th 5c0486bd33 Fixed tests on OpenBSD
Since OpenBSD 6.0 W^X is enforced.
Added `RANDOMX_FLAG_SECURE` in tests and benchmarks.
Updated comment.

Excluded `cpu_set_t` since it is not defined on OpenBSD.
2019-10-20 14:23:33 +02:00
Jethro Grassie 73021b89e0
fix MSYS thread handle cast 2019-08-30 17:27:06 -04:00
Jethro Grassie 41401797c9 benchmark: affinity cast for mingw (#96) 2019-07-03 18:13:38 +02:00
tevador e8cf27eab5 Fixed Visual Studio build
Moved affinity to tests
Fixed strange output from mask_to_string
2019-06-22 23:11:24 +02:00
Renamed from src/affinity.cpp (Browse further)