diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-30 00:58:30 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-30 00:58:30 (GMT) |
commit | 262aa647f04db4aac22a7301a5b22e0a08c01be6 (patch) | |
tree | a286337f657944774706f939a527b76f2fb7fd42 /src/libcilkrts.mk | |
parent | 92a09aeae43765202caf4152a6b4fa8902c1a386 (diff) | |
parent | 0e50d664f4efce912ee1a4ee62168c661d6f9199 (diff) | |
download | mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.zip mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.tar.gz mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.tar.bz2 |
Merge branch 'stable'
Conflicts:
Makefile
src/gd.mk
src/gdal.mk
src/imagemagick.mk
src/pcl.mk
src/qt.mk
Diffstat (limited to 'src/libcilkrts.mk')
-rw-r--r-- | src/libcilkrts.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libcilkrts.mk b/src/libcilkrts.mk new file mode 100644 index 0000000..0a7cc5e --- /dev/null +++ b/src/libcilkrts.mk @@ -0,0 +1,33 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libcilkrts +$(PKG)_IGNORE = $(gcc_IGNORE) +$(PKG)_VERSION = $(gcc_VERSION) +$(PKG)_CHECKSUM = $(gcc_CHECKSUM) +$(PKG)_SUBDIR = $(gcc_SUBDIR) +$(PKG)_FILE = $(gcc_FILE) +$(PKG)_URL = $(gcc_URL) +$(PKG)_URL_2 = $(gcc_URL_2) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + echo $(gcc_VERSION) +endef + +define $(PKG)_BUILD + mkdir -p '$(1).build' + cd '$(1).build' && '$(1)/libgomp/configure' \ + $(MXE_CONFIGURE_OPTS) \ + --prefix='$(PREFIX)' \ + --enable-version-specific-runtime-libs \ + --with-gnu-ld \ + LIBS='-lws2_32' \ + ac_cv_prog_FC='$(TARGET)-gfortran' + $(MAKE) -C '$(1).build' -j '$(JOBS)' install + + '$(TARGET)-gcc' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libgomp.exe' \ + -fopenmp +endef |