Samy Al Bahra
ada57f1720
build: Bump version for release.
11 years ago
Samy Al Bahra
2dca67eae2
build: Bump up version for next release.
11 years ago
Samy Al Bahra
b784a846cd
build: Remove unnecessary status indicator from configure.
...
Pointy hat to Olivier.
11 years ago
Olivier Houchard
0050e5bb4a
configure: Add a generic way to detect VMA bits.
...
In configure, when we're not running on a system that does provide the number
of virtual bits available, for x86_64, try to compile a program that uses
cpuid to get the information.
11 years ago
Samy Al Bahra
59e38af2cd
build: Bump version for next release.
11 years ago
Samy Al Bahra
2245f28cb3
build: Strictify /proc/cpuinfo pattern for SPARC Linux.
11 years ago
Samy Al Bahra
2d3e754a5c
build: On Linux use processor pattern for /proc/cpuinfo
...
This fixes incorrect core counts on ARM. Verified behavior on
Linux PPC, ARM, x86. SPARC verification pending.
11 years ago
Samy Al Bahra
a7c235fc28
build: Remove redundant core assignment for MingW port.
11 years ago
Samy Al Bahra
8dc4d18b98
build: Bump version for next release.
11 years ago
Samy Al Bahra
1fb859ad94
build: For now, my test systems are only armv{6,7}l.
...
Constrict to these targets.
11 years ago
Samy Al Bahra
5baa5d1d6d
build: Drop quotes from ARM targets.
...
What I get for speed commits...incompetent commits.
11 years ago
Samy Al Bahra
094fc0d326
build: Add detection of little-endian ARM on Linux.
...
People compiling on ARM on Linux would have experienced problems
if they did not specify --profile. Problem reported by
Christopher Meng <cickumqt@gmail>.
11 years ago
Samy Al Bahra
6fc39cfa49
build: Force configure process to recompile.
11 years ago
Samy Al Bahra
1237681a71
build: Bump version to 0.3 for next release.
11 years ago
Samy Al Bahra
17cc858f58
build: Whitespace clean-up to ARM target.
11 years ago
Samy Al Bahra
1c97766039
ck_pr: First cut 32-bit ARM port.
...
Contributed by Olivier Houchard <cognet@freebsd>.
Signed-off-by: Samy Al Bahra <sbahra@repnop.org>
11 years ago
Samy Al Bahra
f43f55bb86
build: Derive unknown VMA bits.
12 years ago
Samy Al Bahra
f7aab16baf
build: Set VMA bits to unknown by default.
12 years ago
Samy Al Bahra
0999d30067
build: Explicitly disable RTM on non-x86_64 targets.
...
And for x86-32, I don't have an environment with 32-bit
support that has RTM.
12 years ago
Samy Al Bahra
249a69d931
build: Bump version for next release.
12 years ago
Samy Al Bahra
43a6628cf1
ck_pr: Initial support for TSX.
...
goto label support has been omitted for the moment.
A majority of initial targets are still pre-gcc-4.7
to support multiple branches.
12 years ago
Samy Al Bahra
33f30ac941
build: Bump version for next release.
12 years ago
Samy Al Bahra
b1a40dcc34
build: Only copy generated files if out-of-source.
12 years ago
Samy Al Bahra
67598d9452
build: Bump version for next release.
12 years ago
David Joseph
36a2ba143a
Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
Samy Al Bahra
19d1aa501f
build: Prepare version for next release.
12 years ago
Samy Al Bahra
72aa172de0
Bump version for next release.
12 years ago
David Joseph
d7c528694d
build: Fix MINGW64 check.
12 years ago
David Joseph
c1cf0a7a53
build: Add support for MinGW-w64.
12 years ago
Samy Al Bahra
8f41949632
build: No need to rely on grep for simple glob pattern.
12 years ago
Samy Al Bahra
3a85d746fa
build/configure: Add comment to test C program.
12 years ago
David Joseph
1298a6c335
Add support for MinGW32.
...
This primarily involved changing the configure script and adding
several utility functions to regressions/common.h for unit testing.
Signed-off-by: Samy Al Bahra <sbahra@appnexus.com>
12 years ago
Samy Al Bahra
75a6372c5f
build: Fix typo.
12 years ago
Samy Al Bahra
dea255ce14
build: Prefer sed over expr for value expansion.
12 years ago
Samy Al Bahra
4182f9df38
build: Re-order BUILD_DIR/SRC_DIR output.
12 years ago
Samy Al Bahra
7b3b7265be
build: Bump version for next release.
12 years ago
Samy Al Bahra
1f187594ed
build: Differentiate out-of-source builds for regressions.
12 years ago
Samy Al Bahra
f9a484a10d
build: Disclaimer that regressions are unsupported for out-of-source builds.
12 years ago
Samy Al Bahra
e6e97f3ae5
build: Out-of-source builds for primary CK distribution.
...
Out of source regressions target still needs additional work
(because it's not there).
12 years ago
Samy Al Bahra
3de1f23d74
build: Support all *=* forms.
12 years ago
Samy Al Bahra
e1e6d52e5b
build: Various improvements to configure script.
...
Add explicit detection of clang, prefer SUNCC detection over
GCC and also add support for out of source builds.
12 years ago
Samy Al Bahra
33a9222923
legal: Update Copyright statements.
12 years ago
Samy Al Bahra
900d203aa9
build: Bump version for next release.
12 years ago
Samy Al Bahra
2429b2dc51
build: Bump version for next release.
12 years ago
Samy Al Bahra
a69649e580
build: Bump version for next release.
12 years ago
Samy Al Bahra
a1dc38f20e
build/ck_pr: Add configurable memory models.
12 years ago
Samy Al Bahra
9d1540e586
build: Add core count detection for Linux on non-x86 targets.
12 years ago
Samy Al Bahra
7ee626efcb
build: Bump version for silent release.
12 years ago
Samy Al Bahra
fe41e4082b
build: Update help description.
12 years ago
Samy Al Bahra
3c7f94db44
build: Only enable pointer packing if VMA bits is detected.
12 years ago
Samy Al Bahra
7a04c368ff
build: Add VMA bits detection for Mac OS X and Linux on x86*.
12 years ago
Samy Al Bahra
3d3f1c9045
build: Keep ABI counter at 0 at least until we freeze.
12 years ago
Samy Al Bahra
5ab99d5f2e
build: Bump up major version.
12 years ago
Samy Al Bahra
770a11bf2a
build: Bump CK version to 0.2.9.
12 years ago
Samy Al Bahra
4debf3a735
build: Bump version for next release.
12 years ago
Samy Al Bahra
d37eb779cb
build: Add dist target, allow user to modify version.
12 years ago
Samy Al Bahra
6159940337
build: Bump version for next release.
12 years ago
Samy Al Bahra
fc316307c4
build: Add sysctl line for OpenBSD.
12 years ago
Samy Al Bahra
290add2e50
build/regressions: Add CORES option, add "check" target.
...
The check target will attempt to run the unit tests with some
sane defaults.
12 years ago
Samy Al Bahra
37d8a5e98d
build: Bump version for next release.
13 years ago
Samy Al Bahra
f02b87cd65
build: Bump version for next release.
13 years ago
Samy Al Bahra
a361153e07
build: Bump version for next release.
13 years ago
Samy Al Bahra
e8265d8735
build: Bump version for next minor release.
13 years ago
Samy Al Bahra
f38cc85ac9
build: Add --enable-pointer-packing option.
...
Pointer packing is now disabled by default for x86_64 targets.
Jeffrey M. Birnbaum <jmbny.@...> told me that according to his
discussions with Intel engineers, Haswell will be bumping up
VMA bits to 56 bits from 48.
If you control the hardware that CK is deployed to and don't
envision a migration to 48-bits anytime soon, then you may
enable old behavior (resulting in significant memory savings
for some data structures, namely ck_ht) by passing the
--enable-pointer-packing flag to configure.
13 years ago
Samy Al Bahra
0aa2c20cce
build: Bump minor version for release.
13 years ago
Samy Al Bahra
3cf265cba0
all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra
70edc1f6cb
ck_pr: Merge Joao's PPC32 support with some modifications.
...
Add PPC32 build file. Add support in configure script.
13 years ago
Samy Al Bahra
005fe597a4
build: Add additional header files to configure script.
13 years ago
Samy Al Bahra
e4bbd2d2e4
build: Bump version for next silent release.
13 years ago
Samy Al Bahra
aa98cf8a01
build: Bump next release to 0.2.
13 years ago
Samy Al Bahra
706fd07de7
legal: Update Copyright statements.
13 years ago
Samy Al Bahra
3a9087c838
build: Correct default MANDIR.
13 years ago
Samy Al Bahra
6929e9372b
doc: Support systems that lack gzip.
13 years ago
Samy Al Bahra
ad5816b627
build: Bump version for next release.
13 years ago
Samy Al Bahra
90cffdf4fb
doc: Initial support for manual pages, pending portability concerns.
...
I must update this for Solaris.
13 years ago
Samy Al Bahra
13b398a11f
build: Bump version counter for silent release.
13 years ago
Samy Al Bahra
9f786337f7
ck_ht: Lock-free SPMC hash table, for x86_64.
...
This is a hash table that is optimized for architectures that
implement total store ordering and workloads that are read-heavy
involving a single writer and multiple readers. Unlike traditional
non-blocking multi-producer/multi-consumer hash table
implementations this version allows for immediate re-use of deleted
buckets (no need for explicit reclamation cycles) and is more
conducive to traditional safe memory reclamation schemes used in
unmanaged languages (otherwise, we would require key duplication).
It is relatively heavy-weight for MPMC workloads on architectures
which do not implement TSO in comparison to Click's MPMC hash
table. However, it still has better performance characteristics
than a blocking hash table.
The committed version currently only provides x86_64 support. This is
being committed for review by peers and for a silent release that will
allow us to test ck_ht_spmc under high production workloads.
Next public release will include additional documentation as well as
support for other architectures.
In the mean time, please see the unit tests for example usage. Included in
this commit: Dropped -Wbad-function-cast from GCC port.
13 years ago
Samy Al Bahra
dc97d69ca4
build: Bump version for next release.
13 years ago
Samy Al Bahra
d341f67bea
build: Prepare for next release.
13 years ago
Samy Al Bahra
d6e306a2e4
build: Add RPM specification, fix DESTDIR usage on install step.
...
Submitted by Andrew J. Schorr <aschorr@telemetry-...com>.
13 years ago
Samy Al Bahra
ab6cbec48b
build: Prepare for next tag.
13 years ago
Samy Al Bahra
c047201846
build: Bump revision for next release.
13 years ago
Samy Al Bahra
1513afefda
build: Prepare for next minor release.
13 years ago
Samy Al Bahra
0e20787a1d
build: Bump version for next minor release.
13 years ago
Samy Al Bahra
273bc0703d
build: Prepare version for next minor release.
13 years ago
Samy Al Bahra
1cf3caba4e
Bump version counter for next release.
13 years ago
Samy Al Bahra
faf3084c26
configure: No need for GENERATE_FILE.
14 years ago
Samy Al Bahra
20584f085c
Merge commit 'aafefa7592ac0e34d1ad'
14 years ago
Austin Seipp
aafefa7592
Fix build on OS X; ld needs 'install_name', not 'soname'
14 years ago
Samy Al Bahra
55a932787e
Build: Bump counter for next release.
14 years ago
Samy Al Bahra
9920539810
Switch to tags until first API stabilization.
14 years ago
Samy Al Bahra
6132c12163
build: Specify soname for Solaris
14 years ago
Samy Al Bahra
005f0635ff
Build: Generate .soname, more verbose option for Sun linker.
14 years ago
Samy Al Bahra
43519250f5
build: Use typical LD naming convention for libck.so.
...
This was necessary in order to package CK with some distributions.
14 years ago
Samy Al Bahra
295a63a90b
configure: Suffix flags.
14 years ago
Samy Al Bahra
8fd90d71c3
build: Do not over-write user-specified options.
14 years ago
Samy Al Bahra
a89f89c033
Fix build on other targets.
...
Update regressions.build.in to use PTHREAD_CFLAGS.
14 years ago
sbahra
49a2820000
Added support for Sun Studio 12 C compiler.
...
build:
- configure step will generate relevant CFLAGS.
- build profiles are for convenience (developers can use themu
for cross-compilation).
regressions:
- Renamed ck_barrier unit tests to work-around behavior
of Solaris linker.
- Adopted use of a PTHREAD_CFLAGS variable.
ck_cc:
- Added internal CK_CC_IMM macro for compilers that are
verbose against impossible inline constraints (or limited
optimizers).
ck_pr/x86*:
- Adopted CK_CC_IMM macro.
- Dropped redundant constraints.
This work was mostly completed by Theo Schlossnagle
<jesus@omniti.com>, much thanks to him. He has
also provided access to a machine with Sun Studio 12.
14 years ago
Samy Al Bahra
25b50ea7e6
Don't use which, it apparently sucks on some platforms.
...
Patch submitted by: Wez Furlong <wez@messagesystems.com>.
14 years ago
Samy Al Bahra
90fee0d839
PPC64: Import minimal PPC64 port.
...
Must implement templates now for phi in LL-phi-SC
templates to allow for lower latency fetch-and-phi
operations.
14 years ago