-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcdef7d
commit 14b5e13
Showing
6 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module( | ||
name = "libdeflate", | ||
version = "1.19", | ||
compatibility_level = 1, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- /dev/null | ||
+++ BUILD.bazel | ||
@@ -0,0 +1,55 @@ | ||
+# SPDX-License-Identifier: BSD-3-Clause | ||
+# Copyright (c) Contributors to the OpenEXR Project. | ||
+ | ||
+cc_library( | ||
+ name = "deflate", | ||
+ srcs = [ | ||
+ "common_defs.h", | ||
+ "lib/adler32.c", | ||
+ "lib/adler32_vec_template.h", | ||
+ "lib/arm/adler32_impl.h", | ||
+ "lib/arm/cpu_features.c", | ||
+ "lib/arm/cpu_features.h", | ||
+ "lib/arm/crc32_impl.h", | ||
+ "lib/arm/crc32_pmull_helpers.h", | ||
+ "lib/arm/crc32_pmull_wide.h", | ||
+ "lib/arm/matchfinder_impl.h", | ||
+ "lib/bt_matchfinder.h", | ||
+ "lib/cpu_features_common.h", | ||
+ "lib/crc32.c", | ||
+ "lib/crc32_multipliers.h", | ||
+ "lib/crc32_tables.h", | ||
+ "lib/decompress_template.h", | ||
+ "lib/deflate_compress.c", | ||
+ "lib/deflate_compress.h", | ||
+ "lib/deflate_constants.h", | ||
+ "lib/deflate_decompress.c", | ||
+ "lib/gzip_compress.c", | ||
+ "lib/gzip_constants.h", | ||
+ "lib/gzip_decompress.c", | ||
+ "lib/hc_matchfinder.h", | ||
+ "lib/ht_matchfinder.h", | ||
+ "lib/lib_common.h", | ||
+ "lib/matchfinder_common.h", | ||
+ "lib/utils.c", | ||
+ "lib/x86/adler32_impl.h", | ||
+ "lib/x86/cpu_features.c", | ||
+ "lib/x86/cpu_features.h", | ||
+ "lib/x86/crc32_impl.h", | ||
+ "lib/x86/crc32_pclmul_template.h", | ||
+ "lib/x86/decompress_impl.h", | ||
+ "lib/x86/matchfinder_impl.h", | ||
+ "lib/zlib_compress.c", | ||
+ "lib/zlib_constants.h", | ||
+ "lib/zlib_decompress.c", | ||
+ ], | ||
+ hdrs = ["libdeflate.h"], | ||
+ includes = ["."], | ||
+ visibility = ["//visibility:public"], | ||
+) | ||
+ | ||
+alias( | ||
+ name = "libdeflate", | ||
+ actual = ":deflate", | ||
+ visibility = ["//visibility:public"], | ||
+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -0,0 +1,5 @@ | ||
+module( | ||
+ name = "libdeflate", | ||
+ version = "1.19", | ||
+ compatibility_level = 1, | ||
+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
matrix: | ||
platform: | ||
- debian10 | ||
- ubuntu2004 | ||
- macos | ||
- windows | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
build_flags: | ||
- --cxxopt=-std=c++14 | ||
build_targets: | ||
- '@libdeflate//:deflate' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"url": "https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.19.tar.gz", | ||
"integrity": "sha256-J79i1xzWRyj/Q6n+uS8qwvK/dImG2FYTPMHlGZJCjCU=", | ||
"strip_prefix": "libdeflate-1.19", | ||
"patch_strip": 0, | ||
"patches": { | ||
"add_build_file.patch": "sha256-L5cLd/VE0kOH29ifL5KdRkGX2KOldCTgKqTmNTWOTjg=", | ||
"module_dot_bazel.patch": "sha256-GcCZeZoaXO2+nzQQlv8TqMYlyiAyoz1/f/CjSpUbd8Q=" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ | |
} | ||
], | ||
"versions": [ | ||
"1.18" | ||
"1.18", | ||
"1.19" | ||
], | ||
"yanked_versions": {} | ||
} |