From 10785faa9b57a2fad3a1bd76f5c1280b628f174d Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 19 Jul 2018 20:33:56 -0400 Subject: [PATCH] Fix rebuilding of emsdk --- Makefile | 4 ++-- emsdk/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 730eb5896..1a5006f48 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ root/.built: \ touch root/.built -$(CPYTHONLIB): emsdk/emsdk/emsdk/.complete +$(CPYTHONLIB): emsdk/emsdk/.complete make -C $(CPYTHONROOT) @@ -173,5 +173,5 @@ build/packages.json: $(CPYTHONLIB) make -C packages -emsdk/emsdk/emsdk/.complete: +emsdk/emsdk/.complete: make -C emsdk diff --git a/emsdk/Makefile b/emsdk/Makefile index 594ecfcfe..3b5964142 100644 --- a/emsdk/Makefile +++ b/emsdk/Makefile @@ -1,9 +1,9 @@ -all: emsdk/emsdk/.complete +all: emsdk/.complete # We hack the CPU_CORES, because if you use all of the cores on Circle-CI, you # run out of memory -emsdk/emsdk/.complete: +emsdk/.complete: if [ -d emsdk ]; then rm -rf emsdk; fi git clone https://github.com/juj/emsdk.git sed -i -e "s#CPU_CORES = max(multiprocessing.cpu_count()-1, 1)#CPU_CORES = 3#g" emsdk/emsdk