Codebase list liberasurecode / fresh-releases/main
New upstream release. Debian Janitor 1 year, 5 months ago
17 changed file(s) with 97 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
33 description: |
44 Build and run test and valgrind-test for liberasurecode.
55 run: playbooks/unittests/run.yaml
6
7 - job:
8 name: liberasurecode-unittests-arm64
9 parent: liberasurecode-unittests
10 nodeset: ubuntu-focal-arm64
11 description: |
12 Build and run test and valgrind-test for liberasurecode
13 on arm64.
614
715 - job:
816 name: liberasurecode-unittests-centos-7
1321 This job runs on CentOS-7.
1422
1523 - job:
16 name: liberasurecode-unittests-centos-8
24 name: liberasurecode-unittests-centos-8-stream
1725 parent: liberasurecode-unittests
18 nodeset: centos-8
26 nodeset: centos-8-stream
1927 description: |
2028 Build and run test and valgrind-test for liberasurecode.
21 This job runs on CentOS-8.
29 This job runs on CentOS 8 Stream.
30
31 - job:
32 name: liberasurecode-unittests-centos-8-stream-fips
33 parent: liberasurecode-unittests-centos-8-stream
34 pre-run: playbooks/enable-fips.yaml
35 description: |
36 Build and run test and valgrind-test for liberasurecode.
37 This job runs on a FIPS-enabled CentOS 8 Stream system.
38
39 - job:
40 name: liberasurecode-unittests-centos-8-stream-arm64
41 parent: liberasurecode-unittests
42 nodeset:
43 nodes:
44 - name: libec-centos-8-stream-arm64
45 label: centos-8-stream-arm64
46 description: |
47 Build and run test and valgrind-test for liberasurecode.
48 This job runs on CentOS 8 Stream on arm64.
2249
2350 - project:
2451 check:
2552 jobs:
2653 - liberasurecode-unittests
2754 - liberasurecode-unittests-centos-7
28 - liberasurecode-unittests-centos-8
55 - liberasurecode-unittests-centos-8-stream
56 - liberasurecode-unittests-centos-8-stream-fips
57 check-arm64:
58 jobs:
59 - liberasurecode-unittests-arm64
60 - liberasurecode-unittests-centos-8-stream-arm64
2961 gate:
3062 jobs:
3163 - liberasurecode-unittests
3264 - liberasurecode-unittests-centos-7
33 - liberasurecode-unittests-centos-8
65 - liberasurecode-unittests-centos-8-stream
66 - liberasurecode-unittests-centos-8-stream-fips
0 Release 1.6.3
1 -------------
2
3 . Fixed an underflow error when using flat_xor_hd.
4 . Added a build option to allow a suffix to be added to library names passed
5 to dlopen(). To use, define LIBERASURECODE_SO_SUFFIX via CFLAGS when
6 building. This is useful when renaming libraries for PyEClib wheels, for
7 example, so they don't conflict with system packages that may be installed.
8
09 Release 1.6.2
110 -------------
211
93102
94103 . Minor bugfixes including removing offending MAJOR/MINOR version macros
95104 . Enforce upper limit 32 on the number of erasure coding fragments
96 (#data + #chunks) < 32
105 (#data + #chunks) < 32
97106
98107 Release 1.0.8
99108 -------------
7272
7373 ----
7474
75 Getting Help
76 ============
77
78 - Bugs: https://bugs.launchpad.net/liberasurecode/
79 - Mailing List: http://lists.openstack.org/pipermail/openstack-discuss/ (use tag `[swift][liberasurecode]`)
80 - IRC: #openstack-swift on OFTC
81
82 ----
83
7584 References
7685 ==========
7786
0 liberasurecode (1.6.3-1) UNRELEASED; urgency=low
1
2 * New upstream release.
3
4 -- Debian Janitor <janitor@jelmer.uk> Wed, 23 Nov 2022 07:42:42 -0000
5
06 liberasurecode (1.6.2-1) unstable; urgency=medium
17
28 * New upstream release.
2626
2727 #define _MAJOR 1
2828 #define _MINOR 6
29 #define _REV 2
29 #define _REV 3
3030 #define _VERSION(x, y, z) ((x << 16) | (y << 8) | (z))
3131
3232 #define LIBERASURECODE_VERSION _VERSION(_MAJOR, _MINOR, _REV)
3333
34 #ifndef LIBERASURECODE_SO_SUFFIX
35 #define LIBERASURECODE_SO_SUFFIX ""
36 #endif // LIBERASURECODE_SO_SUFFIX
37
3438 #endif // _ERASURECODE_VERSION_H_
3539
3640
0 - hosts: all
1 roles:
2 - enable-fips
2222 set -e
2323 set -x
2424 cd $WORKSPACE
25 git clone git://github.com/01org/isa-l.git
25 git clone https://github.com/intel/isa-l.git -b v2.30.0
2626 cd isa-l
2727 ./autogen.sh
2828 ./configure
3737 #define ISA_L_RS_CAUCHY_LIB_VER_STR "2.14"
3838 #define ISA_L_RS_CAUCHY_LIB_NAME "isa_l_rs_cauchy"
3939 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
40 #define ISA_L_RS_CAUCHY_SO_NAME "libisal.dylib"
40 #define ISA_L_RS_CAUCHY_SO_NAME "libisal" LIBERASURECODE_SO_SUFFIX ".dylib"
4141 #else
42 #define ISA_L_RS_CAUCHY_SO_NAME "libisal.so.2"
42 #define ISA_L_RS_CAUCHY_SO_NAME "libisal" LIBERASURECODE_SO_SUFFIX ".so.2"
4343 #endif
4444
4545 /* Forward declarations */
3636 #define ISA_L_RS_VAND_LIB_VER_STR "2.13"
3737 #define ISA_L_RS_VAND_LIB_NAME "isa_l_rs_vand"
3838 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
39 #define ISA_L_RS_VAND_SO_NAME "libisal.dylib"
39 #define ISA_L_RS_VAND_SO_NAME "libisal" LIBERASURECODE_SO_SUFFIX ".dylib"
4040 #else
41 #define ISA_L_RS_VAND_SO_NAME "libisal.so.2"
41 #define ISA_L_RS_VAND_SO_NAME "libisal" LIBERASURECODE_SO_SUFFIX ".so.2"
4242 #endif
4343
4444 /* Forward declarations */
3939 #define JERASURE_RS_CAUCHY_LIB_VER_STR "2.0"
4040 #define JERASURE_RS_CAUCHY_LIB_NAME "jerasure_rs_cauchy"
4141 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
42 #define JERASURE_RS_CAUCHY_SO_NAME "libJerasure.dylib"
42 #define JERASURE_RS_CAUCHY_SO_NAME "libJerasure" LIBERASURECODE_SO_SUFFIX ".dylib"
4343 #else
44 #define JERASURE_RS_CAUCHY_SO_NAME "libJerasure.so.2"
44 #define JERASURE_RS_CAUCHY_SO_NAME "libJerasure" LIBERASURECODE_SO_SUFFIX ".so.2"
4545 #endif
4646
4747 /* Forward declarations */
3939 #define JERASURE_RS_VAND_LIB_VER_STR "2.0"
4040 #define JERASURE_RS_VAND_LIB_NAME "jerasure_rs_vand"
4141 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
42 #define JERASURE_RS_VAND_SO_NAME "libJerasure.dylib"
42 #define JERASURE_RS_VAND_SO_NAME "libJerasure" LIBERASURECODE_SO_SUFFIX ".dylib"
4343 #else
44 #define JERASURE_RS_VAND_SO_NAME "libJerasure.so.2"
44 #define JERASURE_RS_VAND_SO_NAME "libJerasure" LIBERASURECODE_SO_SUFFIX ".so.2"
4545 #endif
4646
4747 /* Forward declarations */
3636 #define NULL_LIB_VER_STR "1.0"
3737 #define NULL_LIB_NAME "null"
3838 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
39 #define NULL_SO_NAME "libnullcode.dylib"
39 #define NULL_SO_NAME "libnullcode" LIBERASURECODE_SO_SUFFIX ".dylib"
4040 #else
41 #define NULL_SO_NAME "libnullcode.so.1"
41 #define NULL_SO_NAME "libnullcode" LIBERASURECODE_SO_SUFFIX ".so.1"
4242 #endif
4343 /* Forward declarations */
4444 struct ec_backend null;
3838 #define LIBPHAZR_LIB_VER_STR "1.0.0"
3939 #define LIBPHAZR_LIB_NAME "libphazr"
4040 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
41 #define LIBPHAZR_SO_NAME "libphazr.dylib"
41 #define LIBPHAZR_SO_NAME "libphazr" LIBERASURECODE_SO_SUFFIX ".dylib"
4242 #else
43 #define LIBPHAZR_SO_NAME "libphazr.so.1"
43 #define LIBPHAZR_SO_NAME "libphazr" LIBERASURECODE_SO_SUFFIX ".so.1"
4444 #endif
4545
4646 /* Forward declarations */
3737 #define LIBERASURECODE_RS_VAND_LIB_VER_STR "1.0"
3838 #define LIBERASURECODE_RS_VAND_LIB_NAME "liberasurecode_rs_vand"
3939 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
40 #define LIBERASURECODE_RS_VAND_SO_NAME "liberasurecode_rs_vand.dylib"
40 #define LIBERASURECODE_RS_VAND_SO_NAME "liberasurecode_rs_vand" LIBERASURECODE_SO_SUFFIX ".dylib"
4141 #else
42 #define LIBERASURECODE_RS_VAND_SO_NAME "liberasurecode_rs_vand.so.1"
42 #define LIBERASURECODE_RS_VAND_SO_NAME "liberasurecode_rs_vand" LIBERASURECODE_SO_SUFFIX ".so.1"
4343 #endif
4444
4545 /* Forward declarations */
6262 #define SHSS_LIB_VER_STR "1.0"
6363 #define SHSS_LIB_NAME "shss"
6464 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
65 #define SHSS_SO_NAME "libshss.dylib"
65 #define SHSS_SO_NAME "libshss" LIBERASURECODE_SO_SUFFIX ".dylib"
6666 #else
67 #define SHSS_SO_NAME "libshss.so.1"
67 #define SHSS_SO_NAME "libshss" LIBERASURECODE_SO_SUFFIX ".so.1"
6868 #endif
6969 #define DEFAULT_W 128
7070 #define METADATA 32
3838 #define FLAT_XOR_LIB_VER_STR "1.0"
3939 #define FLAT_XOR_LIB_NAME "flat_xor_hd"
4040 #if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
41 #define FLAT_XOR_SO_NAME "libXorcode.dylib"
41 #define FLAT_XOR_SO_NAME "libXorcode" LIBERASURECODE_SO_SUFFIX ".dylib"
4242 #else
43 #define FLAT_XOR_SO_NAME "libXorcode.so.1"
43 #define FLAT_XOR_SO_NAME "libXorcode" LIBERASURECODE_SO_SUFFIX ".so.1"
4444 #endif
4545 #define DEFAULT_W 32
4646
154154
155155 remove_from_missing_list(data_index, missing_data);
156156
157 // Include all data elements except for this one
158 *data_bm |= (code_desc->parity_bms[parity_index-code_desc->k]);
159
160 // Include this parity element
161157 if (parity_index > -1) {
158 // Include this parity element
162159 *parity_bm |= (1 << (parity_index-code_desc->k));
160 // Include all data elements except for this one
161 *data_bm |= code_desc->parity_bms[parity_index-code_desc->k];
163162 } else {
163 // Include both parity elements
164164 *parity_bm |= (1 << (contains_2d-code_desc->k));
165165 *parity_bm |= (1 << (contains_3d-code_desc->k));
166 // And all other data elements that didn't cancel out
167 *data_bm |= tmp_parity_bm;
166168 }
167169
168170 ret = fragments_needed_two_data(code_desc, missing_data, missing_parity, data_bm, parity_bm);
169
171
170172 *data_bm &= ~((unsigned int)1 << data_index);
171173
172174 return ret;