At present, the following issues / pull requests are needed in order to
enable providing user-defined dtypes for AutoDiffXd
, Expression
, etc:
- Pull numpy/numpy#10898
Required so that a non-trivial copy constructor is used. Prevents aliasing
(which would cause double-free errors) for
AutoDiffXd
. - Issue numpy/numpy#9351
Operations like
np.trace
may get caught in an infinite loop. The PRs that resolve this were incorporated into>= v1.13.1
.
To generate a *.whl
file in ./build/
, that can then be redistributed
/ used in Bazel.
To build an experimental NumPy for Ubuntu 16.04, run:
./build_ubuntu.sh
Ensure that you have the requirements equivalent to those in Dockerfile
, then
run:
./build_mac.sh