Skip to content

Commit

Permalink
build: separate -debug and -release build timing
Browse files Browse the repository at this point in the history
Producing `.o` from `.ji` files takes a massive amount of memory (currently),
so it's likely to lead to less memory thrashing and OOM-kills to do this step in serial
  • Loading branch information
vtjnash committed Jun 19, 2018
1 parent 18e6b4d commit e1ae9f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
contrib/download_cmake.sh &&
make -j3 -C deps || make
- run: | # build julia, output ccache stats when done
make -j3 all &&
make -j3 release &&
make prefix=/tmp/julia install &&
ccache -s &&
make build-stats
Expand Down
2 changes: 1 addition & 1 deletion .freebsdci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ compile(){
export USECCACHE=1

gmake check-whitespace
gmake all -j $MAKE_JOBS_NUMBER
gmake release -j $MAKE_JOBS_NUMBER
}

runtests(){
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ script:
echo "-- end of deps build log -----------------------------------------------";
false; }
# compile / install Julia
- make $BUILDOPTS NO_GIT=1 prefix=/tmp/julia release | moreutils/ts -s "%.s"
- make $BUILDOPTS NO_GIT=1 prefix=/tmp/julia install | moreutils/ts -s "%.s"
- make $BUILDOPTS NO_GIT=1 build-stats
- du -sk /tmp/julia/*
Expand Down
2 changes: 1 addition & 1 deletion contrib/windows/appveyor_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ fi
echo 'FORCE_ASSERTIONS = 1' >> Make.user

cat Make.user
make -j3 VERBOSE=1 all
make -j3 VERBOSE=1 release
make -j3 VERBOSE=1 install
make VERBOSE=1 JULIA=../../usr/bin/julia.exe BIN=. "$(make print-CC)" -C test/embedding release
cp usr/bin/busybox.exe julia-*/bin
Expand Down

0 comments on commit e1ae9f0

Please sign in to comment.