Commit graph

16 commits

Author SHA1 Message Date
Tobias Ahrens
7a4970605e Disable the use of ninja for windows builds
Aperantly github added ninja to all of there runners now. This
causes the windows build to fail. This is expected because we
add the architecture as a compiler arg which is not known to
ninja. Even with this the build fails.

This commit disables ninja on windows for now. Once we fixed the
underlying issue with ninja and windows we can reenable it.
2023-10-23 10:23:16 -07:00
Jacob Alexander
6e7fffd7de
Applying black formatting
- Fixing flake8 configuration to agree with black
- Adding black validation check to github actions
2021-10-01 11:12:21 -07:00
Jacob Alexander
a4ef16e831
Fixing flake8 linting errors
- Enabling builds to fail on simple lint failures now
2020-11-20 23:38:13 -08:00
Jacob Alexander
255119b838 Updating to capnproto v0.8.0
- Includes some test stabilization
- Fixes manylinux2010 build issues (linker flag order due to old gcc)
- More rigorous python setup.py clean
- Requires capnproto v0.8.0 or greater
- Including system libcapnp include path for import (e.g. import
  stream_capnp)
- Bundle libcapnp .capnp files when not using system libcapnp
- Removing more distutils usage. Now using pkg-config to determine the
  system version of libcapnp (mainly for Linux, but should work on macOS
  with brew)
- Removed dead code

Resolves issues #215 #216 #217
Lots of fixes for Issue #218 (all sorts of retry methods needed for
GitHub Actions)
2020-06-08 11:49:17 -07:00
Jacob Alexander
fc75e4083d
Fixing remaining flake8 lint warnings 2019-12-11 22:44:44 -08:00
Jacob Alexander
964f514180
Code gardening
- Removing unused code sections
2019-10-17 00:54:21 -07:00
Jacob Alexander
8062e6f401 Adding Windows 32-bit and 64-bit builds
- Basic tests are working
- May need some adjustments to get all tests working
- Cleaned up bundling to take Python arch into account when building
with multiple architectures
2019-10-17 00:36:46 -07:00
Jacob Alexander
063522d308
Adding Windows compilation support
- Automatically determining build arch from running Python shell
  * Should work across all platforms
2019-10-15 18:39:47 -07:00
Jacob Alexander
67d5276936
Defaulting to built-in capnproto
- Adding code to detect if bundled capnproto is already built
2019-10-15 09:35:55 -07:00
Jacob Alexander
7789ebbf96
Fixing flake8 linting errors 2019-10-15 01:08:11 -07:00
Jacob Alexander
f2651facde
Updating capnproto bundling code to use CMake and ninja
- Must faster
- Also showing output by default (easier to diagnose errors)
  * ninja has minimal verbosity (unless there are errors)
2019-10-15 00:42:34 -07:00
Jacob Alexander
b3021e4f6b
Fixing flake8 warnings and errors
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark

Excluding the benchmark directory (due to protobuf generated files)
Also removing some Python2 specific code
2019-09-27 00:15:13 -07:00
Jason Paryani
02907bb50c Fix unintended changing of CXXFLAGS after building bundled libcapnp 2015-03-10 00:33:48 -07:00
Jason Paryani
53d21f787b Add O2 and DNDEBUG flags to libcapnp build 2014-12-12 12:20:13 -08:00
Jason Paryani
c4f558a9b4 Add -fPIC flag to libcapnp build 2014-12-11 22:25:47 -08:00
Jason Paryani
4c0d4ec290 Add automatic build of libcapnp if it's not detected 2014-12-11 22:04:34 -08:00