Commit Graph

300 Commits

Author SHA1 Message Date
Raymond Pasco
67ab030051 Suppress make error messages on non-GNU platforms 2016-08-26 16:32:52 +00:00
Brandon Curtis
8ed555dbac Workaround for glibc >2.24 compilation failure
`glibc 2.24` deprecated `readdir_r` and patched `readdir` for threadsafeness.  This Makefile upgrades warnings to errors with `CWFLAGS=-Werror`, so compilation fails in the presence of `glibc >2.24`.  This is a problem in Arch today, and other distros in the near future.

The best solution may be to check the `glibc` version and replace `readdir_r` with `readdir` if `glibc >2.24`.  In the meantime, using `CWFLAGS+=-Wno-error=deprecated-declarations` in the Makefile in the case of `glibc >2.24` allows `glibc 2.24` users to compile Urbit.

Depends on `getconf` and `expr` shell built-ins, which should be available everywhere.
2016-08-18 01:40:29 -07:00
Raymond Pasco
f3547e7ac4 Merge branch 'jet-aes', remote-tracking branch 'dhaffey/burn-zeroing'
AES, Ed25519, and ++rep jets
Prevent ++burn:ut jet from zeroing non-constants
2016-08-10 15:00:51 -07:00
Raymond Pasco
08994156e1 Add missing jet for ++rep
(very ghetto)
2016-08-10 09:34:43 -07:00
Raymond Pasco
1d1c3f962c Jet murmur3 2016-08-03 17:49:44 -07:00
Dan Haffey
2311b3ee82 Fix ++peek:ut jet semi-discrepancy 2016-08-01 02:00:26 -07:00
Raymond Pasco
706ef3aced Merge branches 'murmur3' and 'libuv-1.7.5-enable'
Add Murmur3 hash reference implementation to libraries
Switch over to libuv 1.7.5 by default
2016-07-26 17:32:36 -07:00
Raymond Pasco
9b18e34775 Link Murmur3 reference implementation into binary
for future use as ++muk/++mum and new mug
2016-07-26 17:29:56 -07:00
Raymond Pasco
af012bab8a Jet AES ECB and CBC modes 2016-07-20 11:25:05 -07:00
Raymond Pasco
12c0a37f39 Enable libuv 1.7.5
This has been working without incident for months now.
2016-07-11 10:32:03 -04:00
Raymond Pasco
2a41962c2f Merge remote-tracking branches 'jfranklin9000/delete-LIBRE2', 'jfranklin9000/uv_close_on_UV_EOF', 'revprez/revprez-pr-removed_zod-20160612' and 'philipcmonk/reap-jet-fix'
Remove obsolete regex libraries
Stop leaking libuv fds (or whatever they are)
Remove obsolete urb/zod references
Fix memory leak in ++reap jet
2016-06-27 09:10:37 -04:00
Prez Cannady
7b0d9a7d4d Addressed style issues raised by juped: https://github.com/urbit/urbit/pull/747#issuecomment-225538953 2016-06-13 19:29:20 -04:00
Prez Cannady
422a29d303 Commented out zod in osxpackage and debbuild as per this bit of advice from @urbit_: https://twitter.com/urbit_/status/739273155512958976 2016-06-12 19:22:42 -04:00
John Franklin
3f30a01a42 Delete outside/cre2 and outside/re2 2016-06-08 21:05:27 -05:00
Raymond Pasco
4a9d61607f Jet shar:ed curve25519 shared secret arm 2016-05-24 12:00:35 -04:00
Raymond Pasco
e9a429fbdd Activate ++lune jet 2016-03-03 00:06:24 -05:00
Raymond Pasco
bb5e995202 Look for pill in build dir, arvo in arvo/
also .gitignore them
BUG: length of arvo sources directory is hardcoded!
2016-02-15 06:06:56 -05:00
C. Guy Yarvin
d93f96a21a ut_find.c compiles, not yet activated. 2016-01-20 17:35:11 -08:00
C. Guy Yarvin
2d4045f3c9 Testing =#. 2016-01-15 17:42:50 -08:00
C. Guy Yarvin
7f554bf20e Old seek system eradicated. 2016-01-09 16:22:25 -08:00
C. Guy Yarvin
15c5f6c198 ++nest fully repaired. 2016-01-01 14:47:07 -08:00
C. Guy Yarvin
d6d94de3c9 New, non-degenerate ++nost almost works, fails on ++homo. 2015-12-31 02:07:29 -05:00
C. Guy Yarvin
d13e22c156 Remove superfluous file. 2015-12-28 23:03:05 -05:00
C. Guy Yarvin
d5dd8d1321 Remove cubab. 2015-12-28 15:53:10 -05:00
C. Guy Yarvin
eeab0af487 Fully abolish %bull. 2015-12-27 01:42:53 -05:00
C. Guy Yarvin
8421df97e8 Rationalize jets. 2015-12-26 23:39:38 -05:00
C. Guy Yarvin
4651852406 Eliminate snubbing. 2015-12-26 06:44:32 -05:00
John Franklin
5d77df9fdb Only include/link with /opt/local and /usr/local/opt/openssl if they exist. 2015-11-16 18:10:42 -05:00
Raymond Pasco
5e513cc527 Disable building with libuv 1.7.5 by default 2015-11-16 17:41:17 -05:00
Raymond Pasco
e743211baa Mac-specific OpenSSL header location
pretty platform-specific, but hurts nothing on other platforms
2015-11-16 17:34:49 -05:00
John Franklin
7328874488 Build with libuv-v1.7.5 2015-11-16 17:34:49 -05:00
John Franklin
3876b22627 Add gtags (gnu global) and cscope tag generation targets. 2015-10-21 03:44:53 -05:00
John Franklin
6c3736a060 fix etags target 2015-10-19 12:30:46 -05:00
John Franklin
fcc8e8ada2 Add notes on debugging with gdb. 2015-10-19 13:06:30 -04:00
Dave Loyall
f91e79d173 Remove bitrotten make target. 2015-09-25 17:54:50 -05:00
Joan Torres
012dabaf6a Add ++skid jet 2015-09-19 10:03:13 -07:00
Joan Torres
dfc529f274 Add ++reap jet 2015-09-16 13:50:36 -07:00
Joan Torres
70b9e5d9c2 Add ++murn jet 2015-09-15 13:59:00 -04:00
Kingdon
2bb098c1ed patchset 2015-09-10 17:56:02 -04:00
Philip C Monk
a8d59bf7a3 performance improvements 2015-09-03 17:14:35 -04:00
Alex Higgins
46746cbdb1 Fix alignment 2015-08-27 05:38:24 -05:00
Alex Higgins
01faf1fa45 Jet ++xeb 2015-08-27 05:31:10 -05:00
Raymond Pasco
884b96831b Merge remote-tracking branch 'max19/newfp' into test
Conflicts:
	urb/urbit.pill
2015-08-05 12:37:30 -04:00
Max G
f92ccb3504 ++drg jet 2015-07-31 05:01:20 +03:00
Max G
ac23f4ac70 a bunch of stuff 2015-07-29 23:43:55 +03:00
Max G
24c0a807ab ++rq jets 2015-07-29 19:53:45 +03:00
Max G
6fabd7c565 ++rs jets 2015-07-29 18:59:21 +03:00
Max G
05e6a96bd5 ++rd jets 2015-07-29 06:56:02 +03:00
Anton Dyudin
d4a8ca28d1 partial slimpill prep 2015-07-17 11:55:32 -07:00
Raymond Pasco
a649440ed2 set difference jets 2015-07-02 01:25:13 -04:00
Anton Dyudin
cfe0339761 Rename %time to %behn, tym to now; closes #334 2015-06-24 12:50:30 -07:00
Philip C Monk
9edda1bb73 descriptive names for c files
fixes #294
2015-06-23 21:29:11 -04:00
cgyarvin
9b216f615d Merge pull request #332 from dcow/parallel
Enable parallel builds (292)
2015-06-23 11:20:52 -07:00
David Cowden
1a40d36428 Enable parallel builds
Due to the earlier hack employed to enable `make distclean all`,
building urbit in parallel is not safe as it is possible `make`
will try to execute the rule that configures libuv twice at the
same time (since it is specified by two targets and no further
dependency exists). This change adds a dependency between the
two targets forcing them to be serialized by `make`.

libuv does not want to build in parallel either. Force it to
build sequentially too.

292
2015-06-23 10:08:19 -07:00
Raymond Pasco
7fdcc66815 Port to FreeBSD 2015-06-18 20:52:38 -07:00
Anton Dyudin
d91068cf52 minor clean-up: dawn.c->down.c, -sqar.c 2015-06-05 15:52:52 -07:00
C. Guy Yarvin
ad47ebec56 -T for autoboot. 2015-05-19 11:38:23 -07:00
Philip C Monk
55c3827fb4 removed -g from c++ compiling 2015-05-12 17:39:45 -04:00
cgyarvin
b812d16b0a Revert "Revert "Jetted scrypt"" 2015-05-03 16:31:45 -07:00
cgyarvin
ca99ef63e7 Revert "Jetted scrypt" 2015-05-03 16:28:51 -07:00
Max G
97d679ee69 fixed jet discrepancy 2015-05-03 16:02:14 +03:00
Max G
0385e3a701 Jetted scrypt 2015-05-03 15:26:42 +03:00
C. Guy Yarvin
8f23a0f943 Reenable optimization in master. 2015-04-30 17:13:23 -07:00
Philip C Monk
31e80487a1 Merge branch 'master' into typedclay
Conflicts:
	n/t.c
	urb/urbit.pill
	urb/zod/main/app/reload/core.hook
	urb/zod/main/app/shell/core.hook
	urb/zod/main/app/solid/core.hook
	urb/zod/main/arvo/dill.hoon
	urb/zod/main/arvo/eyre.hoon
	urb/zod/main/arvo/ford.hoon
	urb/zod/main/arvo/gall.hoon
	urb/zod/main/arvo/hoon.hoon
	urb/zod/main/mar/json/door.hook
	urb/zod/main/mar/md/door.hook
	urb/zod/main/mar/txt/door.hook
	v/raft.c
	v/unix.c
2015-04-22 20:18:19 -04:00
Philip C Monk
52be4718b4 annotated merges seem to be working 2015-04-13 17:29:39 -04:00
Steven Dee
f4e8eac6de Revert "fixed linux build"
Guys. We already did this. Just not for *BSD.

This reverts commit e6becced960b6a35cfcd75f123a3d63152430318.
2015-04-13 10:46:37 -04:00
Philip C Monk
f0be8165ad bug fixing 2015-04-08 20:51:34 -04:00
Philip C Monk
0be5716a46 Merge branch 'master' of https://github.com/urbit/urbit 2015-04-07 18:49:43 -04:00
C. Guy Yarvin
5802a4e52d Various fixes and improvements. 2015-04-01 13:56:43 -07:00
Philip C Monk
e8870285ac make subs boot again 2015-03-31 15:52:47 -04:00
Philip C Monk
f62ff0fd66 notification-only subscription path 2015-03-26 19:26:39 -04:00
Anton Dyudin
2669bcf0f5 Merge branch 'master' into eyre-new
Conflicts:
	urb/urbit.pill
	urb/zod/docs/pub/doc/arvo/util.md
2015-03-24 17:01:13 -07:00
Philip C Monk
7daed9bcb3 waypoint 2015-03-24 17:46:32 -04:00
Philip C Monk
ff276ba88d Merge branch 'master' of https://github.com/urbit/urbit 2015-03-12 16:24:55 -04:00
Steven Dee
c4b3e47e87 Use pwd command, not PWD env var
So, sometimes PWD isn't exported. Like if you're in some kind of
weird sudo login session or something.

I don't know. It was broken for me. This fixed it.
2015-03-05 21:00:51 -05:00
Philip C Monk
0eecbb466a Merge remote-tracking branch 'origin/master' into typedclay
Conflicts:
	urb/urbit.pill
	urb/zod/arvo/eyre.hoon
	urb/zod/arvo/hoon.hoon
	urb/zod/arvo/zuse.hoon
	urb/zod/main/app/poke/core.hook
	urb/zod/main/app/reboot/core.hook
	urb/zod/main/app/shell/core.hook
	urb/zod/main/app/tree/core.hook
2015-03-05 18:27:07 -05:00
Philip C Monk
b248466526 Merge branch 'master' of https://github.com/urbit/urbit 2015-03-02 16:51:33 -05:00
Steven Dee
21242e9c61 Conditionally disable unused-result on OpenBSD 2015-03-02 16:44:21 -05:00
Philip C Monk
8df018b0b0 fixed linux build 2015-03-02 14:06:36 -05:00
Steven Dee
63908d386e Fix linux build 2015-03-02 14:04:20 -05:00
Steven Dee
6173d1577c Fixes for OpenBSD build 2015-03-02 13:36:46 -05:00
Philip C Monk
cbcb62459a move along, nothing to see here 2015-02-27 01:35:41 -05:00
Anton Dyudin
479311153d de-DGHETTO 2015-02-20 13:50:30 -08:00
Anton Dyudin
aa1cfca2dd dbg wip 2015-02-19 21:27:23 -08:00
Garret Kelly
06323bab3c Ignore unused return values for functions that care. 2014-12-19 19:08:05 +00:00
C. Guy Yarvin
ac95c203d0 CORRECT AND FINAL approach to missing field initializers :-) 2014-12-19 10:22:56 -08:00
Garret Kelly
eb92f8c3d0 Remove -Werror from Makefile. 2014-12-18 22:59:19 +00:00
Steven Dee
44d0079f9a Introduce some more warnings
Actually this only causes a few missing field initializer warnings to
show up in the jet code. I disabled sign-compare and unused-parameter
outright because they were too noisy.
2014-12-11 19:02:53 -05:00
Philip C Monk
cef42f4d21 clear terminal backlog in ++prep 2014-12-05 16:09:46 -05:00
Philip C Monk
c77dfba7dc fix makefile 2014-12-04 16:29:49 -05:00
Philip C Monk
0e44d99264 really fix makefile 2014-12-04 16:23:31 -05:00
Philip C Monk
10cbe40871 fix makefile 2014-12-04 16:21:33 -05:00
C. Guy Yarvin
b927a7bf78 Add test user-level jet. 2014-12-03 15:21:55 -08:00
Philip C Monk
afff845f97 link commonmark from outside/ 2014-12-03 17:07:01 -05:00
C. Guy Yarvin
53eae798e2 100 profile samples per second, in theory anyway. 2014-11-30 16:08:28 -08:00
C. Guy Yarvin
ce8afd76ee Various profiling and other fixes. 2014-11-30 16:06:08 -08:00
C. Guy Yarvin
81455138c3 Fix some profiling stuff. 2014-11-30 02:06:41 -08:00
C. Guy Yarvin
b3a64933bc Ready to test profiling. 2014-11-28 18:19:11 -08:00
Jared Hance
324186166c Majorly unscrew the build system 2014-11-13 18:33:46 -05:00
C. Guy Yarvin
9b4da218aa Solve malloc alignment issues. 2014-11-11 13:49:45 -08:00