You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libcilkrts.mk

34 lines
915 B

# 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