1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add rules to create MPI

This commit is contained in:
Stefan Lankes 2016-01-17 10:27:36 +01:00
parent 50c5b09a48
commit b20ec23865
3 changed files with 10 additions and 1 deletions

4
.gitmodules vendored
View file

@ -22,3 +22,7 @@
path = hermit/lwip
url = git@github.com:RWTH-OS/LwIP.git
branch = hermit
[submodule "hermit/usr/mpich"]
path = hermit/usr/mpich
url = git@github.com:RWTH-OS/mpich.git
branch = hermit

View file

@ -45,7 +45,7 @@ $(TMP)/bootstrap:
$Q$(MKDIR) $(TMP)/bootstrap
$Q$(CD) $(TMP)/bootstrap; $(TOPDIR)/gcc/configure --target=$(TARGET) --prefix=$(TOPDIR)/$(ARCH) --without-headers --enable-languages=c --disable-nls --disable-shared --disable-libssp --disable-libgomp --enable-threads=posix --enable-tls && $(MAKE) $(NJOBS) all-gcc && $(MAKE) install-gcc
toolchain: $(TMP)/newlib libs $(TMP)/gcc headers demo
toolchain: $(TMP)/newlib libs $(TMP)/gcc headers $(TMP)/mpich demo
$(TMP)/newlib:
@echo Build newlib, libpthread and libgomp
@ -60,6 +60,10 @@ libs:
$Q$(MAKE) TARGET=$(TARGET) CC_FOR_TARGET=$(CC_FOR_TARGET) AR_FOR_TARGET=$(AR_FOR_TARGET) CFLAGS_FOR_TARGET+="-I. -Wall" -C ircce depend
$Q$(MAKE) TARGET=$(TARGET) CC_FOR_TARGET=$(CC_FOR_TARGET) AR_FOR_TARGET=$(AR_FOR_TARGET) CFLAGS_FOR_TARGET+="-I. -Wall" -C ircce
$(TMP)/mpich:
$Q$(MKDIR) $(TMP)/mpich
$Q$(CD) $(TMP)/mpich; $(TOPDIR)/mpich/configure --prefix=$(TOPDIR)/$(ARCH) --enable-fast=all,O3 --enable-romio --with-pm=gforker --enable-threads=funneled && $(MAKE) && $(MAKE) install
headers:
@echo [CP] Copy headers
$Q$(CP) -R ../lwip/src/include/posix/* $(TOPDIR)/$(ARCH)/$(CROSSCOMPREFIX)/include/

1
hermit/usr/mpich Submodule

@ -0,0 +1 @@
Subproject commit a4121ab15f4660041503b9f967afded35c2024ad