Skip to content

Commit

Permalink
release v0.3
Browse files Browse the repository at this point in the history
- Bugfixes in PAL and SHIM
- Improvement of migration scheme in SHIM, which largely speed up
  forking
- Upgrade glibc to 2.19
- FreeBSD port
- Support OpenJDK, python and R
  • Loading branch information
chiache committed Nov 30, 2015
1 parent 11e27a9 commit b5586bb
Show file tree
Hide file tree
Showing 275 changed files with 16,767 additions and 3,798 deletions.
1 change: 1 addition & 0 deletions LibOS/.packed/glibc.sha384
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/crt1.o build/crti.o build/crtn.o build/ld-linux-x86-64.so.2 build/libc.so.6 build/libdl.so.2 build/liblibos.so.1 build/libm.so.6 build/libpthread.so.0 build/libutil.so.1
Binary file added LibOS/.packed/glibc.tar.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions LibOS/Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
SYS ?= $(shell gcc -dumpmachine)
export SYS

GLIBC_SRC = glibc-2.17
GLIBC_SRC = glibc-2.19
SHIM_DIR = shim
BUILD_DIR = build
GLIBC_TARGET = $(addprefix $(BUILD_DIR)/,libc.so.6 ld-linux-x86-64.so.2 libpthread.so.0 libm.so.6 libdl.so.2 libutil.so.1 crt1.o crti.o crtn.o liblibos.so.1)

all: $(GLIBC_TARGET)
make -C $(SHIM_DIR) all
$(MAKE) -C $(SHIM_DIR) all

debug: DEBUG=debug
debug: $(GLIBC_TARGET)
make -C $(SHIM_DIR) debug
$(MAKE) -C $(SHIM_DIR) debug

# nothing to install
install:

ifeq ($(SYS),x86_64-linux-gnu)
$(GLIBC_TARGET): $(BUILD_DIR)/Makefile
cd $(BUILD_DIR) && make
cd $(BUILD_DIR) && $(MAKE)

$(BUILD_DIR)/Makefile: $(GLIBC_SRC)/configure
./buildglibc.py --quiet $(DEBUG)
Expand All @@ -31,15 +31,15 @@ $(GLIBC_SRC)/configure:

.PHONY: pack
pack: $(GLIBC_TARGET)
tar -chzf .packed/glibc.tar.gz $^
make -C $(SHIM_DIR) pack
@../Scripts/pack_binaries.sh glibc $^
$(MAKE) -C $(SHIM_DIR) pack

clean:
make -C $(SHIM_DIR) clean
$(MAKE) -C $(SHIM_DIR) clean
rm -rf $(BUILD_DIR)
else
$(GLIBC_TARGET): .packed/glibc.tar.gz
tar -xmozf $<
tar -xmozf $< $@

clean:
rm -rf $(BUILD_DIR)
Expand Down
4 changes: 2 additions & 2 deletions LibOS/buildglibc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def appendText(filename, text) :

try:
home = os.getcwd()
glibc = "glibc-2.17"
glibc = "glibc-2.19"
glibcParent = "" # glibc parent directory
glibcDir = "" # glibc dir (ex. glibc-2.17)
glibcDir = "" # glibc dir (ex. glibc-2.19)
buildDir = "build"
installDir = "/usr/local/graphene"
commandStr = ""
Expand Down
Loading

0 comments on commit b5586bb

Please sign in to comment.