mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Merge pull request #4143 from jlsantiago0/master
Fix Fedora33 s390x build.
This commit is contained in:
commit
fc6255ffec
13
RELICENSE/jlsantiago0.md
Normal file
13
RELICENSE/jlsantiago0.md
Normal file
@ -0,0 +1,13 @@
|
||||
Permission to Relicense under MPLv2
|
||||
|
||||
This is a statement by Jose L. Santiago
|
||||
that grants permission to relicense its copyrights in the libzmq C++
|
||||
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2).
|
||||
|
||||
A portion of the commits made by the Github handle "jlsantiago0", with
|
||||
commit author "Jose L. Santiago", are copyright of Jose L. Santiago.
|
||||
This document hereby grants the libzmq project team to relicense libzmq,
|
||||
including all past, present and future contributions of the author listed above.
|
||||
|
||||
Jose L. Santiago
|
||||
2021/02/18
|
@ -1212,6 +1212,11 @@ AC_DEFUN([LIBZMQ_CHECK_CACHELINE], [{
|
||||
# the value the kernel knows on Linux
|
||||
zmq_cacheline_size=$(cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size 2>/dev/null || echo 64)
|
||||
fi
|
||||
fi
|
||||
if test "x$zmq_cacheline_size" = "xundefined"; then
|
||||
# On some platforms e.g. Fedora33 s390x the cacheline size reported
|
||||
# by getconf as 'undefined'.
|
||||
zmq_cacheline_size=64
|
||||
fi
|
||||
AC_MSG_NOTICE([Using "$zmq_cacheline_size" bytes alignment for lock-free data structures])
|
||||
AC_DEFINE_UNQUOTED(ZMQ_CACHELINE_SIZE, $zmq_cacheline_size, [Using "$zmq_cacheline_size" bytes alignment for lock-free data structures])
|
||||
|
Loading…
Reference in New Issue
Block a user