summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Fix building with LD_LIBRARY_PATH setOndřej Nový2018-10-011-16/+8
| | | | | | | | | | | | | | | | | | If LD_LIBRARY_PATH is set to any value, build will fail, example: Making check in doc ... /bin/bash: line 1: /usr/lib/libeatmydata: No such file or directory ... See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906480 Same is true for DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH. This bug was introduced with commit 19442df2cd9a5bc8ec4deded7046ea7aca1d50a2 where Kota removed evals, but forgot to remove prepending of same env variables. Change-Id: Ib7a1d6b839d4a207ee0471b55233e1ce5d958705
* Fix warning on automake toolKota Tsuyuzaki2017-02-201-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes automake tools warnings as follows (and a my fault in previous patch [1]): - Change INCLUDES variable to APP_CPP_FLAGS and APP_C_FLAGS according to the warning message - Remove non-POSIX variable to suppress that warnings Note that the latter change may be affected to the testing so please be careful on your review what's going on your testing environment. In the past change [2], they ware designed to use the shared object binaries in the build path. However, Daniel had pointed out the good thing at [1] if we runs the test/liberasruecode_test (it's shell with linker) in the dir, we can touch the expected binaries. My fault in the previous patch is that I didn't replace ./test/.libs/liberasurecode_test to ./test/liberasurecode_test even we use --trace-children=yes option for the valgrind. Now, all tests run via ./test/<test name> syntax and IMO no matters exist even if we remove the non-POSIX variable for test settings. 1: https://review.openstack.org/#/c/434162 2: 93446db9414f311bd9fc7dc047eb4dbbeb3e6feb Change-Id: I0e79bed7755a1f286b746a70fcf56fdc972bfd5d
* Fix valgrind-check and memory leakKota Tsuyuzaki2017-02-201-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can you believe that we ware testing the memory leak with valgrind to just *bash scripts* instead of actual binaries on liberasurecode_test and libec_slap? That is why we cannot find such an easy memory leak[1] at the gate. Now this patch enable to run the valgrind against to the binaries. With this fix, we found various memory leak at liberasurecode_test as follows and this patch also fixes them: - If we create fake fragments, we're responsible for freeing all of the frags as well as the array holding the pointers to the frags. - If we allocate any space, we're responsible for freeing it. - If we create an EC descriptor, we're responsible for destroying it. - If we create a fragment or skip array, we're responsible for freeing it. - If that happens inside a loop, we're responsible for doing it *inside that same loop*. In addition to the test fix, this patch fixes following memory leaks at the code which is affected to other users (pyeclib, OpenStack Swift) * Refuse to decode fragments that aren't even long enough to include fragment headers. * Fix a small memory leak in the builtin rs_vand implementation. Closes-Bug: #1665242 Co-Authored-By: Tim Burke <tim@swiftstack.com> 1: https://review.openstack.org/#/c/431812 Change-Id: I96f124e4e536bbd7544208acc084de1cda5c19b2
* Get version from liberasurecode version headerTushar Gohad2015-12-101-1/+1
| | | | ... (keep version in one place)
* Include major API version in pkg-config file nameTushar Gohad2015-12-101-0/+2
|
* Create includedir on call to install-exec-hookChris Lamb2015-12-021-1/+2
| | | | | | | | | | | | | | | | Debian maintainers reported that liberasurecode could not be built reproducibly. What happens is that erasurecode_version.h headers are non-determinstically installed in the target directory depending on the system clock. This is due to debian/tmp/usr/include not being created and the install-exec-hook ignores errors. The attached patch ensures target ${includedir} exists and therefore the headers will always be there. Signed-off-by: Chris Lamb <lamby@debian.org>
* Split helpers.h include for backward compatibilityTushar Gohad2015-09-221-2/+5
| | | | | | | Users of liberasurecode <= 1.0.7 used alloc/free helpers (which they shouldn't have). This change is to make sure we are still able to those older revs of programs and they work with newer liberasurecode.
* Create header symlinks in std locations for backward compatTushar Gohad2015-09-201-0/+9
|
* Release 1.0.8v1.0.8Tushar Gohad2015-07-201-1/+3
|
* Merge remote-tracking branch 'origin/new_commits_for_1_0_8'Tushar Gohad2015-06-211-4/+5
|\
| * Fix 'make test' to properly run null and installed backend tests.Kevin Greenan2015-06-181-3/+3
| |
| * Fixing issue #17 to namespace header files.Kevin Greenan2015-06-181-1/+2
| |
* | Add get_flags_from_cpuid.c to distTushar Gohad2015-06-211-1/+1
| |
* | Remove remaining m4/ referencesfix_m4_macrosTushar Gohad2015-06-211-2/+0
|/
* Fix a uint < 0 warning reported by ClangTushar Gohad2015-04-301-1/+1
| | | | Also add -Wall for future builds
* Sanitize fragments_to_string() errorcodes, add tests for frags w/o fmetadataTushar Gohad2015-03-281-2/+2
| | | | Addresses issue#10
* Set runtime ld path to point to local so's when running testsTushar Gohad2015-03-101-6/+15
|
* Integrate doxygen with autoconf infrastructureTushar Gohad2014-09-071-1/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Added libec_slap testEric Lambert2014-08-261-0/+2
|
* Added ability to generate coverage data with configure --enable-gcov.Eric Lambert2014-08-081-1/+2
| | | | | 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/+2
| | | | it is used by the publid headers...
* algsig: Move jerasure backend dlopen up a levelTushar Gohad2014-07-221-2/+2
| | | | | | .. also check for errors Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Disable alg_sig_test (take 2)Tushar Gohad2014-07-221-2/+2
|
* Ripping out galois.[ch] and dynamically pulling the multiplication functon ↵Kevin Greenan2014-07-221-1/+0
| | | | from jerasure
* gf: Convert exit(1)s to return statementsTushar Gohad2014-07-211-0/+1
| | | | | | ... shared library should not call exit() Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add encode postprocessing, checksum helpersTushar Gohad2014-07-211-0/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* automake: Fix cscope targetTushar Gohad2014-07-181-1/+2
|
* Fix --enable-debug target, make debug CFLAGS consistent (global)Tushar Gohad2014-07-171-7/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Add erasurecode_helpers.hTushar Gohad2014-07-171-0/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* run liberasuretest as part of make testEric Lambert2014-07-181-0/+1
|
* alg_sig.h was moved to topdir/includeTushar Gohad2014-07-171-4/+5
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Frontend/backend API split, make EC handle int typeTushar Gohad2014-07-131-3/+3
| | | | | | | .. also introduce a map for backend method stub name to backend library function names Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Enable valgrind target for all testsTushar Gohad2014-07-071-2/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor code backend implementation (WIP)Tushar Gohad2014-07-071-17/+4
| | | | | | | Facing some nasty dlopen() issues when testing with "test/liberasurecode_test" Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Simplify Makefile.am by adding SUBDIRSTushar Gohad2014-07-061-32/+17
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Add cscope targetTushar Gohad2014-07-051-0/+6
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add placeholder xor backend routinesTushar Gohad2014-06-301-2/+0
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* chksum: Add gf_complete dep for algsigTushar Gohad2014-06-301-4/+8
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Add liberasurecode version for libtoolTushar Gohad2014-06-301-0/+3
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Fix libXorcode LIBADD line, minor fixesTushar Gohad2014-06-301-4/+11
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Fix CPPFLAGS/include pathTushar Gohad2014-06-291-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Add Xorcode pkgconfig, other minor fixesTushar Gohad2014-06-291-1/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Tell libtool about libXorcore versionTushar Gohad2014-06-291-0/+3
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Incremental autoreconf fixes (take 2)Tushar Gohad2014-06-291-1/+1
| | | | | | | - No need for SIMD_FLAGS in the generic case - No need to compile against jerasure/gf_complete Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Incremental autoreconf fixes (take 1)Tushar Gohad2014-06-291-5/+5
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Re-add Makefile.am for the new library skeletonTushar Gohad2014-06-291-0/+56
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Start refactorTushar Gohad2014-06-291-38/+0
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fixed typo in 'check' make target and moved valgrind targetEric Lambert2014-06-191-4/+9
| | | | definition out of Makefile.in and into Makefile.am
* Override default behavior of AC_CHECK_LIB so that we no longerEric Lambert2014-06-121-1/+1
| | | | link libjerasure and libgf_complete to binaries built by configure
* refactor workspace and buildEric Lambert2014-06-111-1/+31
|