2016-10-27 23:06:00 +08:00
|
|
|
#! /bin/sh -x
|
|
|
|
#
|
|
|
|
# Copyright by The HDF Group.
|
|
|
|
# Copyright by the Board of Trustees of the University of Illinois.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
|
|
# terms governing use, modification, and redistribution, is contained in
|
2017-04-18 03:32:16 +08:00
|
|
|
# the COPYING file, which can be found at the root of the source code
|
2021-02-17 22:52:36 +08:00
|
|
|
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
2017-04-18 03:32:16 +08:00
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
2016-10-27 23:06:00 +08:00
|
|
|
#
|
|
|
|
# Name: build_h5perf_alone.sh
|
|
|
|
#
|
|
|
|
# Puporse: Build the h5perf tool by standalone mode.
|
|
|
|
#
|
|
|
|
# Created: Albert Cheng, 2005/09/18
|
|
|
|
#
|
|
|
|
# Modification:
|
|
|
|
#
|
|
|
|
|
|
|
|
# Default to use h5pcc to build h5perf unless $H5CC is defined.
|
|
|
|
#
|
|
|
|
h5pcc=${H5CC:-h5pcc}
|
|
|
|
$h5pcc -DSTANDALONE pio_perf.c pio_engine.c pio_timer.c -o h5perf
|