Mercurial > mxe-octave
comparison src/libgomp.mk @ 3903:385f5f4412b7
of-nurbs: fix cross compile, install libgomp's omp.h
* src/of-nurbs.mk: make nurbs dependant on libgomp
* src/of-nurbs-1-fixes.patch: update patch to use cross mkoctfile
* src/libgomp.mk: update version to match gcc, install omp.h to HOST_INCDIR
author | John Donoghue |
---|---|
date | Tue, 14 Apr 2015 13:51:09 -0400 |
parents | ed7c61a97068 |
children | c7e31c07c915 |
comparison
equal
deleted
inserted
replaced
3902:cc946e55afb3 | 3903:385f5f4412b7 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := libgomp | 4 PKG := libgomp |
5 $(PKG)_IGNORE = $(build-gcc_IGNORE) | 5 $(PKG)_IGNORE = $(build-gcc_IGNORE) |
6 $(PKG)_VERSION := 4.7.0 | 6 $(PKG)_VERSION := $(build-gcc_VERSION) |
7 $(PKG)_CHECKSUM = $(build-gcc_CHECKSUM) | 7 $(PKG)_CHECKSUM = $(build-gcc_CHECKSUM) |
8 $(PKG)_SUBDIR = $(build-gcc_SUBDIR) | 8 $(PKG)_SUBDIR = $(build-gcc_SUBDIR) |
9 $(PKG)_FILE = $(build-gcc_FILE) | 9 $(PKG)_FILE = $(build-gcc_FILE) |
10 $(PKG)_URL = $(build-gcc_URL) | 10 $(PKG)_URL = $(build-gcc_URL) |
11 $(PKG)_URL_2 = $(build-gcc_URL_2) | 11 $(PKG)_URL_2 = $(build-gcc_URL_2) |
31 $(ENABLE_SHARED_OR_STATIC) \ | 31 $(ENABLE_SHARED_OR_STATIC) \ |
32 $($(PKG)_SYSDEP_CONFIGURE_OPTIONS) | 32 $($(PKG)_SYSDEP_CONFIGURE_OPTIONS) |
33 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' | 33 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' |
34 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '1' install DESTDIR='$(3)' | 34 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '1' install DESTDIR='$(3)' |
35 | 35 |
36 # also copy omp.h to where other programs will see it | |
37 $(INSTALL) -d "$(3)$(HOST_INCDIR)" | |
38 $(INSTALL) -m644 '$(1)/build/$(TARGET)/libgomp/omp.h' '$(3)$(HOST_INCDIR)/' | |
39 | |
36 #'$(MXE_CC)' \ | 40 #'$(MXE_CC)' \ |
37 # -W -Wall -Werror -ansi -pedantic \ | 41 # -W -Wall -Werror -ansi -pedantic \ |
38 # '$(2).c' -o '$(HOST_BINDIR)/test-libgomp.exe' \ | 42 # '$(2).c' -o '$(HOST_BINDIR)/test-libgomp.exe' \ |
39 # -fopenmp | 43 # -fopenmp |
40 endef | 44 endef |