Commit Graph

177 Commits

Author SHA1 Message Date
Joe Bryan
f40b519cce mingw: sets libh2o install dir (for accurate pkg-config info) 2021-08-19 20:36:00 -04:00
Joe Bryan
80765b9516 build: fixes urbit+urcrypt mingw build 2021-08-19 20:36:00 -04:00
Joe Bryan
dfb42f4c6f build: remove obsolete (urcrypt-vendored) dependencies 2021-08-19 20:35:48 -04:00
Joe Bryan
d137436fe8 build: normalize our use of pkg-config, rename urcrypt config 2021-08-19 20:32:55 -04:00
Joe Bryan
e3cd08b96a build: implements static builds in urbit ./configure, prunes deps 2021-08-19 20:32:53 -04:00
Joe Bryan
b993ca2c25 build: force static urcrypt on darwin 2021-08-19 20:32:50 -04:00
Joe Bryan
0b19f51a6b Merge remote-tracking branch 'frodwith/urcrypt' into jb/urcrypt-prep
* frodwith/urcrypt: (75 commits)
  move libaes_siv to deps
  fix typo in urcrypt.h
  libaes_siv now using tip of dfoxfranke master
  check for recovery header presence in configure, put -O3 in flags, move pc to distcleanfiles
  clean generated pkg-config file
  update urbit's configure to use a liburcrypt version
  add a versioning scheme to urcrypt
  remove scrypt from urbit build (in urcrypt now)
  move the rest of the scrypt jets to urcrypt, enable them, and correct the hoon test to match the source rfc.
  scr-pbk->urcrypt
  start scrypt porting
  Squashed 'pkg/urcrypt/scrypt/' content from commit a402f4116
  finish porting secp jets to urcrypt
  pkg-config support for urcrypt, update urbit build
  cosmetic configure things
  require shared ssl when building a shared urcrypt
  remove some old files
  add autogen.sh
  use srcdir in -I to support out of tree builds
  whitespace and symbol cleanup
  ...
2021-08-19 20:03:19 -04:00
Joe Bryan
c7ef32de85 build: updates secp256k1 source 2021-08-04 23:39:12 -04:00
Joe Bryan
44c7eedbd2 build: updates libaes_siv, builds from upstream 2021-08-04 23:38:31 -04:00
~locpyl-tidnyd
23634f66f3 compat: add m1brew 2021-07-02 17:27:56 +03:00
~locpyl-tidnyd
35593949c3 vere: update argon2u dependency to urbit/argon2@a4c1e3f7 2021-06-04 12:36:24 +03:00
~locpyl-tidnyd
fb2ee65d59 compat: fix missing newlines at end of file 2021-06-04 12:34:20 +03:00
~locpyl-tidnyd
0ccbcd5038 vere: mingw: bump curl version and get rid of CURLOPT_SSL_CTX_FUNCTION typecheck warning 2021-06-03 01:44:11 +03:00
~locpyl-tidnyd
8e8edf5f68 vere: merge urbit-v1.5 into mingw-port 2021-04-28 07:12:00 +00:00
Brendan Hay
d72db74492
king: ensure lmdb is statically linked on osx
By way of ensuring the lmdb package's cabal extra-libraries field
is ignored and our lmdb overlay is used. Don't ask.
2021-04-27 19:50:16 +02:00
Pax Dickinson
cc3fdf80d5 docker: make reset-urbit-code work properly 2021-04-18 16:00:15 -04:00
Pax Dickinson
a77eeed64a docker: add curl, implement scripts for obtaining +code from loopback 2021-04-18 10:14:39 -04:00
wexpertsystems
2bab57d6b5
Escape the nix quotation properly.
Fixes nix syntax error

Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-04-15 17:28:15 -04:00
Pax Dickinson
ef1b438c22 docker: allow setting Ames port via docker run argument 2021-04-15 14:59:52 -04:00
Pax Dickinson
685ef12e8f docker: add exec to final urbit invocation 2021-04-14 15:19:31 -04:00
~locpyl-tidnyd
4882b0040b Merge tag 'urbit-v1.3' into mingw-port 2021-04-02 19:07:23 +00:00
~locpyl-tidnyd
7d031f4ca7 vere: mingw: terminal compatibility 2021-04-01 13:22:35 +00:00
~locpyl-tidnyd
a36193c967 compat: mingw: don't export secp256k1 symbols from exe 2021-03-30 07:30:40 +00:00
~locpyl-tidnyd
0d9adffb25 vere: mingw: build static executables 2021-03-29 23:35:12 +00:00
~locpyl-tidnyd
2b5f00075d compat: move build-mingw script into configure 2021-03-29 13:27:27 +00:00
~locpyl-tidnyd
4d14b410d5 vere: basic MingW compatibility changes
This commit adds code changes, compatibility functions, stubs and a build script
to build urbit binaries on MingW64. Some functionality is limited or missing:
terminal input and daemon mode is not available, graceful exit does not work,
and the binaries are not completely static and use (portable) MingW dlls.

To build the binaries, install the MSYS2 environment, check out or copy the urbit
repo and pill binaries, open a MingW64 shell and `cd pkg/urbit && ./build-mingw`.
2021-03-29 09:56:17 +00:00
pilfer-pandex
3ca526bd5b hs: it seems I misread bren, again 2021-03-22 16:35:19 -04:00
pilfer-pandex
a7dbc692e5 hs: dunno, try this 2021-03-22 16:01:14 -04:00
pilfer-pandex
e2b2c29990 Merge branch 'release/next-vere' into pp/lmdb 2021-03-22 15:55:38 -04:00
pilfer-pandex
5bb01e5bae hs: modify hs/default.nix accordingly 2021-03-22 15:55:15 -04:00
Joe Bryan
3c2beb0fb8 build: simply patch application lmdb nix overlay 2021-03-16 15:48:32 -07:00
Joe Bryan
027c5d4603 build: patch lmdb to use F_FULLFSYNC on darwin 2021-03-15 15:20:57 -07:00
Paul Driver
0d064dfd54 move libaes_siv to deps 2021-03-11 10:55:04 -08:00
Edward Amsden
8d8dc826cb
docker-image: Pass -t flag to vere if not in an interactive container
Vere will not run a ship if STDIN is closed, unless passed the `-t`
flag. Hosted docker containers will not be interactive, but we would
like the docker image to be usable locally and interactively as well.

Thus, we check for STDIN being closed in the shell prior to launching
Vere, and if it is closed, pass the `-t` flag.
2021-01-16 19:44:04 -05:00
Edward Amsden
d3c5aa74c1
build: A 'smart' docker image
This commit adds the `docker-image` attribute to the main Nix
entrypoint, invoking `nix/pkgs/docker-image` which will build
a 'smart' docker image that can load keyfiles or a pier and
boot a ship

It includes a README for the official docker image, suitable
for posting as the README to a Docker Hub or similar docker
image repository.
2021-01-13 07:37:28 -05:00
Joe Bryan
3e4d495500 nix: remove lib/base64 from solid pill staging 2020-12-08 16:22:58 -08:00
Joe Bryan
5980fbedd0 ci: updates herb call to -test, matching new invocation 2020-12-04 21:46:05 -08:00
Joe Bryan
548440a85d nix: trims trailing whitespace from solid pill builder 2020-11-20 15:23:56 -08:00
Joe Bryan
b1e3b0def2 hoon: moves $xray into userspace 2020-11-20 15:23:56 -08:00
Joe Bryan
aea0f571d7 hoon: moves $plum and +plume to userspace 2020-11-20 15:23:56 -08:00
Brendan Hay
2e72724d44
build: github actions workflow configuration 2020-11-15 15:05:13 +01:00
Brendan Hay
12e1a53633
build: silence service account activation output 2020-11-06 12:00:23 +01:00
Brendan Hay
b7d417a4b2
build: minor refactoring of haskell-nix overlays 2020-11-06 10:22:34 +01:00
Brendan Hay
983261a3d8
build: move darwin install_name_tool fixup from vere to king haskell
As well as some variable naming consistency to appease the nixpkgs
gremlins and keep the git history lords on their toes.
2020-11-06 09:47:11 +01:00
Brendan Hay
767a6f85a4 build: remove {sha256,md5} output for push-storage-object effects 2020-11-05 11:39:05 -08:00
Brendan Hay
e9cf0a3518 build: add log message when destination object already exists 2020-11-05 11:39:04 -08:00
Brendan Hay
244a9b6a06 build: force google-cloud-sdk to use python3
This prevents an error where the python2 version of the SDK tries to
use the monotonic library which is unable to detect the host operating
system inside the sandbox - exploding in typical python fashion.

By using python3 it obviates the need for the monotonic dependency by
using the builtin time.monotonic call.
2020-11-05 11:39:01 -08:00
Brendan Hay
b1790b1b3a build: adding support for hercules ci effects 2020-11-05 11:38:58 -08:00
Brendan Hay
3a0b975f4d
build: expose configurable arguments when booting/testing fake ships
This also sets -l (lite boot) by default for boot-fake-ship to speed
up the initial pier creation used by pills/tests, and uses
urbit.meta.arguments by default for tests - seems a little less likely
to footgun.
2020-11-05 10:25:31 +01:00
Brendan Hay
644acd5002
build: ensure urbit tests are run with the -g argument 2020-11-05 10:25:31 +01:00