on master help sign in
Eliminate build-frontend
commit5034979d1426fd9c836ccec063f720648e2ccf44 authorRyan Trinkle <ryan.trinkle@gmail.com> dateSun 4 Feb 2018, 17:02 (9 years ago) parent7743531
1 file changed−19
build-frontend−19
build-frontenddeleted−19
@@ -1,19 +0,0 @@
1−#!/usr/bin/env bash
2−set -eu -o pipefail
3−
4−echo -ne '\033]0;'$0'\007'
5−nix-shell -A shells.ghcjs --run '
6− cabal --project-file=cabal-ghcjs.project --builddir=dist-ghcjs new-build exe:frontend
7− mkdir -p frontendJs
8− (cd frontendJs; ln -sfT ../dist-ghcjs/build/*/ghcjs-*/frontend-*/c/frontend/build/frontend/frontend.jsexe frontend.jsexe)
9− '
10−
11−# GC flags
12−# If BUSY_YIELD < SCHED_QUANTUM, only one thread ever seems to get to run.
13−# -DGHCJS_GC_INTERVAL=60000 -DGHCJS_BUSY_YIELD=5 -DGHCJS_SCHED_QUANTUM=5
14−
15−# Xtreme optimization
16−# -O2 -fplugin=Reflex.Optimizer -fexpose-all-unfoldings -fspecialise-aggressively
17−
18−# dump ghc intermediate outputs for analysis
19−# -dumpdir=dump-js -ddump-to-file -ddump-simpl -ddump-hi -dppr-cols=200 -ddump-rule-firings -dsuppress-all