summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Stop using ceill() to compute padded data size"Jenkins2017-06-061-1/+1
|\
| * Stop using ceill() to compute padded data sizePete Zaitcev2017-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The well-known idiom to compute a required number of data blocks of size B to contain data of length d is: (d + (B-1))/B The code we use, with ceill(), computes the same value, but does it in an unorthodox way. This makes a reviewer to doubt himself and even run tests to make sure we're really computing the obvious thing. Apropos the reviewer confusion, the code in Phazr.IO looks weird. It uses (word_size - hamming_distance) to compute the necessary number of blocks... but then returns the amount of memory needed to store blocks of a different size (word_size). We left all of it alone and return exactly the same values that the old computation returned. All these computations were the only thing in the code that used -lm, so drop that too. Coincidentially, this patch solves the crash of distro-built packages of liberasurecode (see Red Hat bug #1454543). But it's a side effect. Expect a proper patch soon. Change-Id: Ib297f6df304abf5ca8c27d3392b1107a525e0be0
* | Allow to disable optimizations for portabilityPete Zaitcev2017-05-241-60/+73
|/ | | | | | | | | | | | | | | | | | | | | | | | We're having trouble on Fedora when the build system runs on Intel CPUs. The ./configure detects AVX instructions and builds liberasurecode with them. The resulting library crashes with SIGILL when users run it on ADM CPUs without AVX. See the details here: https://bugzilla.redhat.com/show_bug.cgi?id=1454543 The patch allows to disable the optimizations, so that distro packaging then can invoke this options and build portable libraries. For the record, "make test" runs about 16% slower on an Intel CPU if optimizations are disabled. So, there's a measurable performance impact. However, operators intersted in outright performance might want to consider Erasure Coding implementations other than the one built-in into liberasurecode. The library supports other back-ends that are significantly faster than even optimized built-in code. Change-Id: I09603b97ceeb833ba582cf3217e0be51c019d645
* Changed homepage to new oneOndřej Nový2016-06-011-1/+1
| | | | Change-Id: I684294b2eb4362820fe900f7bdd4b589ec94f7db
* Look up version number in version header (part 2)Tushar Gohad2015-12-101-7/+9
|
* Display build config at the end of configure runTushar Gohad2015-12-101-0/+15
|
* Get version from liberasurecode version headerTushar Gohad2015-12-101-22/+35
| | | | ... (keep version in one place)
* Use absolute path for get_flags test programTushar Gohad2015-12-101-1/+1
| | | | | ... fixes issues with builds where configure is invoked from a directory other than the topdir
* Add missing pkg-config defns where requiredTushar Gohad2015-12-101-0/+23
|
* Include major API version in pkg-config file nameTushar Gohad2015-12-101-2/+24
|
* Release 1.1.0v1.1.0Tushar Gohad2015-10-201-1/+1
|
* Create header symlinks in std locations for backward compatTushar Gohad2015-09-201-0/+2
|
* Release 1.0.9v1.0.9Tushar Gohad2015-09-061-1/+1
|
* Release 1.0.8v1.0.8Tushar Gohad2015-07-201-1/+1
|
* Merge remote-tracking branch 'origin/new_commits_for_1_0_8'Tushar Gohad2015-06-211-0/+3
|\
| * Properly detect 64-bit architecture.Kevin Greenan2015-06-181-1/+3
| |
| * Adding new built-in backend for RS VandermondeKevin Greenan2015-06-181-0/+1
| | | | | | | | This is meant to be used in cases where ISA-L and Jerasure cannot be used.
* | Silent autoconf warning for ac_cv_sizeof_longTushar Gohad2015-06-211-0/+1
| |
* | Mimic Zaitcev's CFLAGS fix on the debug sideTushar Gohad2015-06-211-1/+1
| | | | | | | | Ref commit: 5cbab56a1a8ba78c72e8238458b462df0611070f
* | Remove remaining m4/ referencesfix_m4_macrosTushar Gohad2015-06-211-3/+0
|/
* Removing all m4 references for CPUID by creating special C program to parseKevin Greenan2015-05-031-0/+68
| | | | CPUID and directly doing compiler checks in autoconf.ac
* Make ./configure to obey CFLAGSPete Zaitcev2015-04-301-1/+1
| | | | | | | | | | | | Fedora build system sets global CFLAGS that include things like mandatory security enhancements. It works for all other packages, but ./configure in liberasurecode overrides provides CFLAGS. See Red Hat bug for a humorous workaround: https://bugzilla.redhat.com/show_bug.cgi?id=1208695#c4 Note that this patch does not monkey with the --debug side. Hopefuly this does not violate KISS principle.
* v1.0.7v1.0.7Tushar Gohad2015-04-151-1/+1
|
* v1.0.5v1.0.5Tushar Gohad2015-03-131-1/+1
|
* v1.0.4v1.0.4Tushar Gohad2015-03-111-1/+1
|
* Fix so version to be 1.0.1 (was 0.9.10)v1.0.1Tushar Gohad2015-03-081-1/+1
|
* provide a configure flag to disable -Werror at compile timeEric Lambert2014-10-091-2/+15
|
* Reenable silent builds, for verbose builds use "make V=1"Tushar Gohad2014-10-011-3/+3
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Plugging-in the ISA-L backend... Still needs more documentation and a ↵Kevin Greenan2014-09-291-3/+3
| | | | little clean-up, but the tests are passing...
* Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapiEric Lambert2014-09-101-3/+45
|\
| * Integrate doxygen with autoconf infrastructureTushar Gohad2014-09-071-3/+45
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* | Compile in pedantic mode and fail compilation on warnings. Also cleanup all ↵Eric Lambert2014-09-101-2/+2
|/ | | | existing warnings.
* disable compile time optimization when gcov is enabledEric Lambert2014-08-181-0/+2
|
* Added ability to generate coverage data with configure --enable-gcov.Eric Lambert2014-08-081-0/+19
| | | | | Currently only works on Linux (build/tests will run on OS X but coverage data is not generated).
* Distributing the generated config.h (renamed to config_erasurecode.h), since ↵Kevin Greenan2014-07-311-1/+1
| | | | it is used by the publid headers...
* null_code: First cutTushar Gohad2014-07-221-0/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Ripping out galois.[ch] and dynamically pulling the multiplication functon ↵Kevin Greenan2014-07-221-17/+0
| | | | from jerasure
* Add syslog based logging routinesTushar Gohad2014-07-181-4/+4
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fix --enable-debug target, make debug CFLAGS consistent (global)Tushar Gohad2014-07-171-10/+15
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Remove no-dependenciesTushar Gohad2014-07-171-1/+1
| | | | | | | ... Fixes issue with header dependencies not being tracked earlier Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fixed problem with autoreconf. Systems running automake 1.10 or lessEric Lambert2014-07-181-1/+2
| | | | would fail because the AM_SILENT_RULES did not exist until 1.11.
* Remove required gf-complete dependency from liberasurecode.Kevin Greenan2014-07-161-4/+10
| | | | | | | | NOTE: We need to ensure that any erasure code backend using algebraic signatures *must use* the same exact GF as those used in this library. This usually means same 'w' and primitive polynomial. I plan to make the same change to Jerasure, so it will be compatible.
* Bump version to 0.9.10Tushar Gohad2014-07-131-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: fix app name 'erasurecode' -> 'liberasurecode'Tushar Gohad2014-07-131-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoheader: Additional headers in liberasurecode_stdinc.hTushar Gohad2014-07-071-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Move AX_EXT() up in orderTushar Gohad2014-07-071-5/+5
| | | | | | | | .. so we don't add unnecessary libs to the AX_EXT compile lines .. this has a tendancy to report false failures if libraries .. are not found in LD_LIBRARY_PATH (e.g. -lgf_complete) Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor code backend implementation (WIP)Tushar Gohad2014-07-071-6/+11
| | | | | | | Facing some nasty dlopen() issues when testing with "test/liberasurecode_test" Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Make gf-complete dependency for algsig clearerTushar Gohad2014-07-061-4/+5
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Simplify Makefile.am by adding SUBDIRSTushar Gohad2014-07-061-30/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Remove unused *VERSION macrosTushar Gohad2014-06-301-38/+0
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>