Commit Graph

7 Commits

Author SHA1 Message Date
Justine Tunney
1a5ee11377
Restore old -std= flags
Getting rid of them fixed GA Ubuntu, but broke GA MacOS. Let's try a
different strategy.
2023-03-28 10:36:25 -07:00
Justine Tunney
1631298475
Remove -std=foo compiler flags
These flags are only really useful for linting. They put GCC and other
compilers into `__STRICT_ANSI__` mode. That can make systems stuff
slower, in favor of standards conformance, since it may cause headers to
remove platform specific goodness. It also makes builds more painful on
old distros that have the functions we need, but track an older version
of the standards where those functions weren't strictly available. One
such example is mkstemp(). It's available everywhere in practice, but GA
Ubuntu in strict ansi mode complains about it. If we don't use mkstemp()
then that'll put us on the security radar with other platforms.
2023-03-28 10:23:34 -07:00
Justine Tunney
cbddf4661b
Get mmap() working with WIN32 MSVC
- We have pretty high quality POSIX polyfills now
- We no longer need to override malloc()

Tracked by issue #91
Improves upon #341
2023-03-28 10:10:02 -07:00
Justine Tunney
2788f373be
Get the build working 2023-03-15 03:14:20 -07:00
Thomas Klausner
41be0a3b3d
Add NetBSD support. (#90) 2023-03-13 18:40:54 +02:00
Georgi Gerganov
7211862c94
Update Makefile var + add comment 2023-03-11 12:27:02 +02:00
Georgi Gerganov
26c0846629
Initial release 2023-03-10 20:56:40 +02:00