Commit Graph

46 Commits (master)

Author SHA1 Message Date
Doug Coleman 87cce0ba6a build.sh: Warn if boot image url is nonexistent when falling back to master. 2020-08-29 18:22:38 -05:00
Doug Coleman 13b366e88b Revert "build.sh: Fix boot image download to current branch."
This reverts commit ec490587e7.

I didn't read the code, but the odds of a random branch working with master boot image are pretty low.
2020-08-29 18:04:19 -05:00
Doug Coleman 97d828a7f5 build.sh: recognize arm64 linux 2020-08-27 16:47:14 -05:00
Doug Coleman ec490587e7 build.sh: Fix boot image download to current branch. 2020-08-27 16:43:38 -05:00
Doug Coleman 5c3efc5cee build.sh: Fix update-boot-image help 2020-07-03 14:16:45 -05:00
Doug Coleman 6c02569916 build.sh: Recognize arm64 ipad/appletv. 2020-06-15 17:10:07 -05:00
Doug Coleman 8bc4a3f2b8 build.sh: Add OS detection for Haiku. 2020-06-10 17:05:47 +00:00
Doug Coleman b0b5c31821 build.sh: Change WORD size detection to use preprocessor. 2020-06-07 11:43:39 -05:00
John Benediktsson 65d7e3fad1 build.sh: make_boot_image can just use -run=bootstrap.image. 2020-05-17 19:55:59 -07:00
Doug Coleman 160d1b4415 build.sh: Add self-bootstrap option. 2020-05-16 14:52:02 -05:00
Doug Coleman 75d8607643 build.sh: Only pull into current branch so we don't end up merging 2020-05-16 14:51:53 -05:00
Doug Coleman 0f9959a15b build.sh: Only find the mingw compiler on Windows.
Fixes #2269
2020-03-30 20:37:38 -05:00
Doug Coleman 905e2cfb6b build.sh: Support MINGW64 as 64bit Windows.
This is for msys2 64bit mode.
2020-03-30 17:31:35 -05:00
Doug Coleman 45d090738d build.sh: Only support 32/64bit word sizes. 2020-03-30 17:28:02 -05:00
Doug Coleman 8c97ea20de build.sh: Tab snuck into my commit... 2020-03-15 13:46:42 -05:00
Doug Coleman 172649f667 factor: Update all repos to point to github.com.
factorcode.org repo can get behind the github one due to #1862 and low RAM on the new factorcode.org server

Change strategy for calling git fetch to not include the branch name if we are on a detached HEAD
2020-03-15 13:06:02 -05:00
nomennescio c33a406066 Support for MinGW compiler. Need to instal MinGW compiler and runtime. 2019-12-10 08:53:32 -08:00
Rudi Grinberg deb324dee1 Redirect when using curl
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-28 21:57:21 -08:00
Doug Coleman 5048c39e0f build.sh: add compile/recopile to docs 2019-03-08 21:35:53 -06:00
Doug Coleman d6c3cff581 debian: Don't install gcc g++ on debian.
gmake assumes default CC is cc, CXX is g++ (not c++).
In order to make this sane (c++), we check if the shell variable CXX was set
and if so we honor it, else we set CXX to c++.
2019-03-08 21:19:33 -06:00
Doug Coleman e639f23442 build.sh: Remove debug.. 2019-02-23 16:41:20 -06:00
Doug Coleman a9871b39aa vm: Fix DEBUG flag, make REPRODUCIBLE work like debug, minor fixes to build.sh
- ``make DEBUG=0`` caused debug mode because the check was ``ifdef DEBUG`` which is true even if DEBUG=0
- no need to ``#pragma message`` that we are doing a reproducible build imo
- clang warns about redefining builtin macros, turn the warning off for reproducible builds
- add ``./build.sh info`` as an alias for ``./build.sh report``
- show if we a reproducible in report/info
2019-02-23 16:23:33 -06:00
Doug Coleman 205018869b vm: Add freebsd32 support for completeness.
We need gmake on freebsd.
2019-02-09 19:40:54 +00:00
Doug Coleman 960ff85d31 build.sh: Add a compile option to compile only.
Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.
2019-02-09 18:48:42 +00:00
Doug Coleman 080303530a build.sh: Use gmake on FreeBSD and specify the number of cores. 2019-02-08 22:07:02 +00:00
Doug Coleman 382e43889b build.sh: Add the correct travis platform. 2018-12-29 16:29:40 -06:00
Doug Coleman eb57b8a6c2 build.sh: Add target for TravisCI Windows. 2018-12-29 16:24:33 -06:00
Cat Stevens 3214332510 build.sh: final two local vars 2018-08-21 11:36:29 -07:00
Cat Stevens 60785ef0fc build.sh: pacman: never use -S without -yu syncing
https://wiki.archlinux.org/index.php/Pacman#Usage
2018-08-21 11:36:29 -07:00
Cat Stevens 3559e47957 build.sh: more variables are local 2018-08-21 11:36:29 -07:00
Cat Stevens d8e7e8606f build.sh: correctness / safety and fixups 2018-08-21 11:36:29 -07:00
Benjamin Pollack 339be707a2 build: allow any GCC version
The existing test didn't work on modern GCC; a clean fix didn't work
on modern macOS due to its aliasing gcc to clang; and the test being
done is for a version of GCC from 2013 that doesn't ship on any modern
Linux system. (RHEL7 is on GCC 4, but hasn't shipped the buggy version
either ever or since 2015, depending on which source material I look
at.)

Closes #2023
2018-07-26 16:59:27 -04:00
Doug Coleman 682e0b92e3 cli.git: Better branch names maybe.
zealot: use CI_BRANCH and set it in travis.
zealot.factor: Check against HEAD
.travis.yml: Travis seems to be terminating my command after the USING:.

[[
[0K$ ./factor -run=zealot.cli-changed-vocabs
io.pathnames
vocabs.loader
cli.git
modern
modern.out
modern.paths
modern.slices
sequences.extras
web-services.github
zealot.cli-changed-vocabs
zealot.factor
zealot

travis_time🔚155cd3d8:start=1530762416088842089,finish=1530762475370504525,duration=59281662436
[0K
[32;1mThe command "./factor -run=zealot.cli-changed-vocabs" exited with 0.[0m
travis_time:start:2ac2d2d0
[0K$ {:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\\"$line\\\" [ load ] [ test ] bi\" ; done"}
/home/travis/.travis/job_stages: line 78: {:./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e="USING=: No such file or directory

travis_time🔚2ac2d2d0:start=1530762475377510994,finish=1530762475383948090,duration=6437096
[0K
[31;1mThe command "{:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\"$line\\" [ load ] [ test ] bi\" ; done"}" exited with 127.[0m

Done. Your build exited with 1.
]]

zealot: test on cli.
travis: Load zealot so we can use it quickly twice. Also fetch origin/master so we can ``git diff`` against it.
2018-07-05 00:13:02 -05:00
Doug Coleman 27172e1a2f build.sh: Fix broken command. 2018-06-25 17:07:53 -07:00
Doug Coleman 84dabbd6e0 build.sh: Try using the branch's boot image or fallback on `master` boot image.
Related to #2005
2018-06-25 17:05:10 -07:00
Doug Coleman 6931d54008 build.sh: change apt-get to apt 2017-12-27 23:21:57 -08:00
Doug Coleman 454efe0942 build.sh: Use the branch for downloading images, which was the entire point of these patches. 2017-12-09 09:38:23 +00:00
Doug Coleman a2facf56aa build.sh: Use the TRAVIS_CI variable if it's provided.
Travisci appears to work in a detached head, but commands like ``git symbolic-ref --short HEAD`` return ``HEAD`` instead of ``master`` in detached head states. At least if we're in travisci this should work.

https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git
2017-12-09 09:26:29 +00:00
Doug Coleman 3a78b68dd5 build.sh: Print current branch for travis-ci 2017-12-09 08:54:34 +00:00
Doug Coleman b473c5ff4c build.sh: Make build.sh branch-aware and fix tab->space 2017-09-01 22:06:09 -05:00
Björn Lindqvist e27bd4020d Build: let's remove the NO_UI variable
That option has no effect on the build just confuses people because they
think Factor can be built with/without the UI. The runtime never depends
on any ui libraries.
2017-06-30 00:24:24 +02:00
thron7 b00aef99e2 fixed variable name mismatch 2017-02-21 10:16:59 -08:00
John Benediktsson f67fd10de2 build.sh: print DEBUG. 2016-11-15 20:52:07 -08:00
Doug Coleman 82960e81f3 build.sh/build.cmd: support both latest and update 2016-03-29 18:44:32 -07:00
Björn Lindqvist 4d2afed06d Build: fix makefile to work with new script path 2016-03-16 14:28:09 +01:00
John Benediktsson 5dd6435511 moving build-support/factor.(sh|cmd) to ./build.(sh|cmd). 2016-03-15 03:17:36 -07:00