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.
36 lines
1.2 KiB
36 lines
1.2 KiB
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := openmp-validation
|
|
$(PKG)_WEBSITE := http://web.cs.uh.edu/~openuh/
|
|
$(PKG)_DESCR := OpenMP Validation Suite
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 3.1
|
|
$(PKG)_CHECKSUM := 9dbfe3cf49ab6187def83c85b57e133e11fbb667aa111f0fd70775166254dbff
|
|
$(PKG)_SUBDIR := OpenMP$($(PKG)_VERSION)_Validation
|
|
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
|
|
$(PKG)_URL := http://web.cs.uh.edu/~openuh/download/packages/$($(PKG)_FILE)
|
|
$(PKG)_URL_2 :=
|
|
$(PKG)_DEPS := gcc
|
|
|
|
define $(PKG)_UPDATE
|
|
echo 'TODO: Updates for package openmp-validation need to be written.' >&2;
|
|
echo $(openmp-validation_VERSION)
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' \
|
|
RUNTEST_OPTIONS='--norun' \
|
|
EXE_SUFFIX='.exe' \
|
|
CC='$(TARGET)-gcc' \
|
|
FC='$(TARGET)-gfortran' \
|
|
ctest ftest
|
|
|
|
# execute validation tests on host - perl testsuite doesn't
|
|
# work on windows (perl runtest.pl --nocompile --lang=c testlist-c.txt)
|
|
# so run $(PREFIX)/$(TARGET)/bin/$(PKG)-tests/all-tests-openmp-validation.bat
|
|
|
|
mkdir -p '$(PREFIX)/$(TARGET)/bin'
|
|
rm -rf '$(PREFIX)/$(TARGET)/bin/$(PKG)-tests'
|
|
cp -rv '$(1)' '$(PREFIX)/$(TARGET)/bin/$(PKG)-tests'
|
|
endef
|