p4lang-p4c-nightly:cdodd-boost-mp

Last commit made on 2019-12-03
Get this branch:
git clone -b cdodd-boost-mp https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
cdodd-boost-mp
Repository:
lp:p4lang-p4c-nightly

Recent commits

5655121... by ChrisDodd

Remove GMP, using boost::multiprecision instead

-- ENABLE_GMP option to use GMP as the backend for boost::mulitprecision
- case insensitive compare of stderr in p4test as hex constants may be
  either upper or lower case, depending on GMP setting :-(

75df252... by Chris Dodd <email address hidden>

Stack backtrace in exceptions (#2100)

- print the backtrace when unexpected exceptions are caught at the top
  level

7029f1d... by Antonin Bas <email address hidden>

Fix FindPythonModule to avoid warnings

Not sure what the purpose of all the find_python_module directives is,
since we only check for presence of standard library stuff. We also
use find_python_module to "find" the "re" module, and the
find_python_module implementation itself imports "re" :)

Fixes #2095

fbe395b... by Han Wang <email address hidden>

fix type inference for IR::Neg and IR::Cmpl (#2093)

f238d25... by Mihai Budiu <email address hidden>

Fix for python3 (#2092)

9648d11... by Antonin Bas <email address hidden>

Fix SerEnum member values in generated P4Info

The value should be a P4Runtime "bytestring" and not a human-readable
hexadecimal string.

Thanks to @mbudiu-vmw for his help making the SerEnum Google Test work.

a9b95be... by Mihai Budiu <email address hidden>

Insert cast for signed slices; fixes #2090 (#2091)

* Insert cast for signed slices; fixes #2090

2fca832... by Calin Cascaval <email address hidden>

Move to Python3 (#2087)

Converts scripts to Python3

Moves all python scripts in the p4c repository to Python3, except for cpplint.

We should consider moving to https://github.com/cpplint/cpplint to avoid maintaining cpplint. However, this requires adapting all the linting rules to the new version of cpplint, which is orthogonal to this PR.

We still install Python2 dependencies so that we don't break downstream projects. While I do not have a crystal ball to know when they are transitioned, we should put a deadline for these projects to transition and remove the Python2 dependencies.

1cbcd6a... by Andy Fingerhut <email address hidden>

Update first paragraph of README to no longer say alpha-quality (#2081)

06021c2... by Nate Foster <email address hidden>

Update version to match language specification (#2059)

* Update version to match language specification

* Update version number to v1.2.0 for release