Commit Graph

196 Commits

Author SHA1 Message Date
Jōshin
aebce8dbf5
Merge branch 'next/vere' into jo/khan-c3 2022-01-25 08:50:45 -08:00
Jōshin
da2b62fcf5
build: only exclude debug symbols on m1 2022-01-25 08:42:14 -08:00
Jōshin
ba1d5024a8
build: do not include debug symbols in release
On M1 Macs, the compiler seems to infinite-loop, consuming ever more RAM
and CPU, while trying to build `noun/allocate.c` with `-O3 -g`. `-O3` is
fine, `-g` is fine. Both at once seems to try to summon demons.

Other possible solutions aside from this:

- try lower levels of optimization until we find one that doesn't hang,
  and ship that.

- do not support M1 Mac until the underlying issue here is fixed.

- ship debug binaries on M1 for now.

The path of least resistance is of course the second option, as that's
what is already tacitly happening.
2022-01-24 12:30:46 -08:00
Jōshin
0682eb8a3a
nix,vere: move ivory def to its own source file 2021-12-26 22:31:35 +00:00
Jōshin
2d6ea34f7a
Revert "nix: remove socket in boot-fake-ship"
This reverts commit a115dce91c.
2021-12-23 09:42:30 +00:00
Jōshin
3cd1a697ef
Merge branch 'next/vere' into jo/khan-c3 2021-12-23 07:18:09 +00:00
Edward Amsden
a50b7d0dff
[nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix 2021-12-16 13:17:04 -06:00
Jōshin
8396f1e39e
pmnsh: update secp256k1 configure flags
Just used the ones from the most recent nixpkgs, except I kept
--disable-shared.
2021-12-09 09:16:07 +00:00
Brendan Hay
dbb6a09564
secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh 2021-12-09 09:15:13 +01:00
Brendan Hay
4f1acce662
build: correct lmdb static builds 2021-12-08 16:08:37 +01:00
Brendan Hay
d9ba577721
build: explicitly override h2o build platforms to support darwin 2021-12-08 10:20:50 +01:00
Brendan Hay
16379db9b0
build: remove haskell related nix code and haskell.nix dependency
* Upgrades the nixpkgs pin to 21.11.
* Removes nix code, sources, and attributes related to haskell.nix and
  the code under pkg/hs.
* Continuous integration no longer builds (or packages/releases)
  urbit-king (haskell).
* To continue to developing any haskell code under pkg/hs it's left as
  a user exercise uto install and configure GHC/Stack.

As a consequence running nix-shell should be considerably more
performant and requires downloading or building less dependencies.
2021-12-08 10:06:42 +01:00
Jōshin
a395661aad
Merge branch 'master' into jo/khan-c3 2021-11-28 00:13:26 +00:00
Philip Monk
f3a264e8e0
ci: wait for pier to close before moving 2021-11-10 02:26:02 -08:00
Philip Monk
bdd54902fd
ci: try 2021-11-10 01:00:11 -08:00
Philip Monk
04fbb045d2
ci: try 2021-11-10 00:40:56 -08:00
Jōshin
a115dce91c nix: remove socket in boot-fake-ship 2021-10-21 07:11:26 +00:00
Joe Bryan
9a1b9b4450 Merge branch 'master' into release/next-vere
* master: (595 commits)
  grid: updating glob
  landscape: updating glob
  graph-store: clean up merge artefact
  interface: reduce %all-stats correctly
  docket: correctly en-vase a docket definition
  kiln: don't +mean the tang noun alongside the tang
  hood: scry for list of desks with empty desk name
  hood: remove needless weld
  hood: report %kids desk hash in +report-vats
  landscape: fix joining indicator in statusbar
  interface: reduce %saw-place correctly
  app-prefs: fixing logic around enabled
  pull-hook: add nice flag to kick poke
  graph-pull-hook: renegotiate subscriptions
  graph-store: Handle missing update-logs gracefully in scries
  arvo: update jamfiles
  landscape: correctly freeze graph-update-2
  jael: on rekey, update life if moon
  tmp/ jamfiles
  btc: updating glob
  ...
2021-10-05 11:33:08 -04:00
Edward Amsden
25d32e1d5d
nix: fix broken symlinks in arvo and ropsten-patched arvo 2021-09-26 15:26:48 -04:00
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