4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-12 11:29:33 +00:00

10 Commits

Author SHA1 Message Date
rthomas
5684960317 Update dependencies 2020-05-24 06:47:15 +02:00
rthomas
934d84ffea Move to Pybind11 v2.4.3 and fix enum conflicts 2019-11-19 06:41:11 +01:00
Laszlo Kiss-Kollar
3550e45f18 Build manylinux1-compliant wheels in Travis
* Temporarily disable Melkor in test suite
The Makefile uses the -executable flag which doesn't work on RHEL5.
Disabling until I find a workaround for this.

* Patch Makefile in Melkor fuzzer
This replaces the `-executable` flag which is not supported by `find` on
CentOS 5.

* Respect CC environment variable
Several tests hard coded /usr/bin/cc which might not exist in some
environments. We first check the CC environment variable and fall back
to the hard coded path if CC is unset.

* Skip tests on GLIBC < 2.17
Some test binaries were linked against GLIBC 2.17. Skip tests which use
this binary if the platform does not have the required GLIBC version.

* Enable ccache in Docker in Travis builds

* Run `auditwheel repair` on the produced wheels
This will vendor the needed external shared libraries into the wheel and
tag it as manylinux1.

* Install ccache in Docker image

* Avoid using bind mount volume in Docker build

The bind mount volume wrote files as 'root' which causes issues with the
deploy script in Travis. Copying the source code into the image and
retrieving the built wheels instead of mounting the source tree fixes
this issue.

* Fix missing build folder when building with Docker

After finishing the build inside Docker we need the build directory from
the container to be able to deploy the built artifacts with deploy.sh.

* Use the right Python interpreter for Linux builds

The Dockerized .travis.yml builds attempt to invoke the interpreter in
the PYTHON_BINARY environment variable, which is only valid inside the
Docker image. To fix this, override the variable on Linux for tasks
which require the host's Python interpreter.

* Fix missing pip installation in Travis

The Ubuntu image in Travis does not come with `pip` preinstalled for
Python 3.

* Remove .git directory from .dockerignore

As `setup.py` uses `git` to determine the version number we need to copy
the contents of `.git` into the image.
2019-10-02 07:49:45 +02:00
Romain Thomas
0d03b4bdb8 Improve Python setup 2019-03-31 10:15:08 +02:00
Romain Thomas
dfd8e55b83 Remove yamlcpp 2018-09-09 04:48:35 +02:00
Romain Thomas
4b649ad231 WIP 2018-09-08 05:25:21 +02:00
Romain Thomas
9142c2bfb3 Update Yamlcpp 2018-09-08 04:56:10 +02:00
Romain Thomas
262af07311 Use Frozen for static const containers.
Thanks to https://github.com/serge-sans-paille/frozen

By default, Frozen is used if the compiler support C++14. It can be disabled by
using the "LIEF_DISABLE_FROZEN" option during the CMake configuration
step
2018-03-28 05:57:22 +02:00
Romain Thomas
3b17aba10e Refactor some parts of the Architecture:
* JSON visitor are located in the format namespace
  * Visitor are *real* visitor
  * Visitable class has been renamed to Object
  * Due to a bug in Visual Studio 2015, we move to VS2017
2018-03-13 16:49:02 +01:00
Romain Thomas
4cee3fa240 Some improvements in the CMake build
* cache dependencies in the 'third-party' directory.
  * Enhance Python 'find_library'
2017-11-01 10:12:05 +01:00