Commit 6c2d7797 authored by Michael Droettboom's avatar Michael Droettboom

Use a file, rather than a directory as the target for OSX compat

parent a0046f27
......@@ -173,5 +173,5 @@ build/packages.json: $(CPYTHONLIB)
make -C packages
emsdk/emsdk/emsdk:
emsdk/emsdk/.complete:
make -C emsdk
all: emsdk/emsdk
all: emsdk/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:
emsdk/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
......@@ -17,7 +17,8 @@ emsdk/emsdk:
make ; \
cd ../.. ; \
cp binaryen/tag-1.38.4/bin/binaryen.js binaryen/tag-1.38.4_64bit_binaryen/bin ; \
./emsdk activate --embedded --build=Release sdk-tag-1.38.4-64bit binaryen-tag-1.38.4-64bit \
./emsdk activate --embedded --build=Release sdk-tag-1.38.4-64bit binaryen-tag-1.38.4-64bit ; \
touch .complete \
)
clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment