Eugene Kliuchnikov
5ce9bf11b3
Merge pull request #423 from PiotrSikora/libm
...
Bazel: link ":brotli_enc" with -lm.
2016-08-29 13:09:09 +02:00
Piotr Sikora
b4f8c7814a
Bazel: link ":brotli_enc" with -lm.
...
While this isn't strictly necessary with recent versions of Bazel
(which unconditionally add -lm to linkopts), building Brotli with
older versions of Bazel requires -lm to be added explicitly.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-29 02:32:12 -07:00
Eugene Kliuchnikov
d7c4da8ad0
Merge pull request #421 from fred-wang/cmake-shared-libraries
...
Add support for CMake's BUILD_SHARED_LIBS option. #326
2016-08-27 17:45:57 +02:00
Eugene Kliuchnikov
55dd5d7824
Merge pull request #422 from fred-wang/cmake-typo
...
Fix typo in CMakeFile: s/BROTLI_BUNDLE_MODE/BROTLI_BUNDLED_MODE/
2016-08-27 17:42:08 +02:00
Frédéric Wang
5e1219a32d
Fix typo in CMakeFile: s/BROTLI_BUNDLE_MODE/BROTLI_BUNDLED_MODE/
2016-08-27 12:14:50 +02:00
Frédéric Wang
074e4acd8a
Add support for CMake's BUILD_SHARED_LIBS option. #326
2016-08-27 12:05:51 +02:00
Eugene Kliuchnikov
e7f47b9470
Merge pull request #418 from PiotrSikora/bazel_cc_library
...
Bazel: use cc_library instead of cc_inc_library.
2016-08-24 11:54:07 +02:00
Eugene Kliuchnikov
f14b38d84f
Merge pull request #420 from PiotrSikora/bazel_license
...
Bazel: export LICENSE file.
2016-08-24 11:07:50 +02:00
Piotr Sikora
d0391c99ee
Bazel: export LICENSE file.
...
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-23 19:58:51 -07:00
Piotr Sikora
2cc33230f4
Bazel: use cc_library instead of cc_inc_library.
...
cc_inc_library is broken when used with external repositories
(see: https://github.com/bazelbuild/bazel/issues/1596 ), which
makes it a bit useless at the moment.
Switch to using cc_library with "includes" attribute to expose
public headers.
While there, fix order of attributes in ":brotli_common" target.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-23 15:43:07 -07:00
Eugene Kliuchnikov
85cc650a11
Merge pull request #417 from eustas/master
...
Move "public" -> "include/brotli"
2016-08-23 16:21:58 +02:00
Eugene Kliuchnikov
532921b8c8
Fix CMake includes.
2016-08-23 15:35:54 +02:00
Eugene Kliuchnikov
3dcc3c02d0
Fix CMake includedirs
2016-08-23 14:49:37 +02:00
Eugene Kliuchnikov
6e2207f486
Add includedir to setup.py
2016-08-23 14:44:13 +02:00
Eugene Kliuchnikov
8148001158
Move "public" to "include/brotli"
2016-08-23 14:40:33 +02:00
Eugene Kliuchnikov
2032f41ffa
Merge pull request #416 from sylvestre/master
...
Remove some deadcode
2016-08-23 10:32:05 +02:00
Sylvestre Ledru
5ad715e445
Remove some deadcode
2016-08-22 18:22:24 +02:00
Eugene Kliuchnikov
7ecd22939c
Merge pull request #415 from eustas/master
...
Use version from common/version.h
2016-08-22 16:29:13 +02:00
Eugene Kliuchnikov
ceddddeb2b
Fix setup.py regexp
2016-08-22 15:59:08 +02:00
Eugene Kliuchnikov
2c2d5578a6
Use version from common/version.h
2016-08-22 15:44:12 +02:00
Eugene Kliuchnikov
313066a037
Merge pull request #414 from eustas/master
...
Update brotli to ToT
2016-08-22 14:48:09 +02:00
Eugene Kliuchnikov
dae9c7ffd0
Fix brotlimodule
2016-08-22 14:00:42 +02:00
Eugene Kliuchnikov
403729c454
Fix setup.py
2016-08-22 13:59:21 +02:00
Eugene Kliuchnikov
801f5f37ee
* rename macros with preceding underscore
...
* add Brotli*TakeOutput methods
* * flushing now doesn't require additional call
* add Brotli*Version methods
* moved public headers to 'public' directory
* removed C++ API
* do not assume STDC_VERSION is defined
2016-08-22 13:28:22 +02:00
Eugene Kliuchnikov
2e0d3214c2
Merge pull request #407 from anthrotype/fix-python-build
...
Fix python build
2016-08-11 10:59:52 +02:00
Cosimo Lupo
11dc16bf91
.travis.yml: fix wheel deploy 'condition' (use '&&', not '||')
2016-08-10 19:29:48 +01:00
Cosimo Lupo
52cb947469
.travis.sh: skip source venv on linux
2016-08-10 19:27:17 +01:00
Cosimo Lupo
13b8e7ff60
.travis.yml: only deploy OSX wheels
2016-08-10 19:22:41 +01:00
Cosimo Lupo
18dfca9bc1
.travis.sh: only build wheels on OSX
2016-08-10 18:43:41 +01:00
Cosimo Lupo
2dc2ac7701
.travis.sh: explicitly use 'bash' shell instead of generic 'sh'
...
I need to use 'source' command to activate the python virtual environment,
but apparently that is not available on Ubuntu's default /bin/sh
2016-08-10 18:33:43 +01:00
Cosimo Lupo
e944f1c92b
.travis.yml: update Python versions
...
Removed unnecessary builds for homebrew and system python.
We only use the official Mac Python distributions from Python.org.
The wheels compiled with those will work on both homebrew Python and
the OSX built-in Python.
2016-08-10 18:12:36 +01:00
Cosimo Lupo
a5bf2c0bdd
.travis.sh: activate virtualenv before calling python or pip commands
2016-08-10 18:05:38 +01:00
Eugene Kliuchnikov
014f651114
Add benchmarks section
2016-08-10 14:44:59 +02:00
Eugene Kliuchnikov
5d8b0f3a0c
Merge pull request #400 from nemequ/master
...
appveyor: add Visual Studio builds (based on CMake)
2016-08-10 13:30:59 +02:00
Evan Nemerson
fe0e153cb8
cmake: use a different variable for testing with and without libm
...
CMake seems to cache the result when using the same variable, at least
with some versions, so previously systems requiring libm for log2 may
not have worked as expected.
2016-08-04 18:51:20 -07:00
szabadka
e0a87638d8
Merge pull request #404 from szabadka/master
...
Update the spec reference to RFC 7932, remove the old internet draft.
2016-08-02 13:46:11 +02:00
Zoltan Szabadka
af1768478a
Update the spec reference to RFC 7932, remove the old internet draft.
2016-08-02 13:27:29 +02:00
Evan Nemerson
c1ec7ba292
appveyor: add Visual Studio builds (based on CMake)
...
This only goes back to VS 12 (2013) because MSVC didn't support log2
until then.
2016-07-29 13:24:17 -07:00
Eugene Kliuchnikov
24685f9bf3
Merge pull request #399 from nemequ/master
...
Add mingw support.
2016-07-29 10:38:09 +02:00
Evan Nemerson
01f9cf94a0
travis: use container-based infrastructure
2016-07-28 20:13:29 -07:00
Evan Nemerson
03657e8089
Add mingw support.
2016-07-28 19:32:33 -07:00
Eugene Kliuchnikov
bd3a5ada1a
Merge pull request #397 from nemequ/master
...
Add CMake, lots of Travis configurations
2016-07-28 10:18:20 +02:00
Eugene Kliuchnikov
882f41850b
Merge pull request #396 from eustas/master
...
Fix ubsan warning.
2016-07-27 11:12:23 +02:00
Eugene Kliuchnikov
e0af054d9e
Fix ubsan warning.
2016-07-27 11:02:27 +02:00
Evan Nemerson
97b846f2fe
travis: disable gcc-4.5 build
...
Travis seems to have trouble with the PPA.
2016-07-26 20:59:28 -07:00
Evan Nemerson
26a59359ed
Add UBSan build, use clang for sanitizer builds.
2016-07-26 17:31:26 -07:00
Evan Nemerson
45862fcb06
Enable address sanitizer build.
2016-07-26 08:53:26 -07:00
Evan Nemerson
1d15c95363
travis: enable clang builds now that the LLVM repos are back up
2016-07-26 08:53:26 -07:00
Evan Nemerson
37be4e37ce
travis: add many additional builds
2016-07-26 08:53:26 -07:00
Evan Nemerson
3e33d7636a
travis: add CMake builds
2016-07-26 08:53:26 -07:00