10ef72598Sjeremylt# Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 20ef72598Sjeremylt# Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 30ef72598Sjeremylt# All Rights reserved. See files LICENSE and NOTICE for details. 40ef72598Sjeremylt# 50ef72598Sjeremylt# This file is part of CEED, a collection of benchmarks, miniapps, software 60ef72598Sjeremylt# libraries and APIs for efficient high-order finite element and spectral 70ef72598Sjeremylt# element discretizations for exascale applications. For more information and 83d8e8822SJeremy L Thompson# source code availability see http://github.com/ceed 90ef72598Sjeremylt# 100ef72598Sjeremylt# The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 110ef72598Sjeremylt# a collaborative effort of two U.S. Department of Energy organizations (Office 120ef72598Sjeremylt# of Science and the National Nuclear Security Administration) responsible for 130ef72598Sjeremylt# the planning and preparation of a capable exascale ecosystem, including 140ef72598Sjeremylt# software, applications, hardware, advanced system engineering and early 150ef72598Sjeremylt# testbed platforms, in support of the nation's exascale computing imperative. 160ef72598Sjeremylt 170ef72598Sjeremyltimport os 18*1f401ad2SJeremy L Thompsonfrom setuptools import setup, Extension 190ef72598Sjeremyltimport libceed 200ef72598SjeremyltCEED_DIR = os.path.dirname(libceed.__file__) 210ef72598Sjeremylt 220ef72598Sjeremylt# ------------------------------------------------------------------------------ 230ef72598Sjeremylt# Setup 240ef72598Sjeremylt# ------------------------------------------------------------------------------ 250ef72598Sjeremyltqf_module = Extension("libceed_qfunctions", 260ef72598Sjeremylt include_dirs=[os.path.join(CEED_DIR, 'include')], 270ef72598Sjeremylt sources=["libceed-qfunctions.c"], 280ef72598Sjeremylt extra_compile_args=["-O3", "-std=c99", 290ef72598Sjeremylt "-Wno-unused-variable", 300ef72598Sjeremylt "-Wno-unused-function"]) 310ef72598Sjeremylt 320ef72598Sjeremyltsetup(name="libceed_qfunctions", 330ef72598Sjeremylt description="libceed qfunction pointers", 340ef72598Sjeremylt ext_modules=[qf_module]) 350ef72598Sjeremylt 360ef72598Sjeremylt# ------------------------------------------------------------------------------ 37