# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, # as published by the Free Software Foundation. # # This program is also distributed with certain software (including # but not limited to OpenSSL) that is licensed under separate terms, # as designated in a particular file or component or in included license # documentation. The authors of MySQL hereby grant you an additional # permission to link the program and your derivative works with the # separately licensed software that they have included with MySQL. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License, version 2.0, for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # ---------------------------------------------------------------------- # Common Configuration File included by Ant, Makefile, and Shell Scripts # Restrictions: no whitespace, quotes, or escapes permitted in assignments # ---------------------------------------------------------------------- # # Mandatory: MySQL/NDB Paths # # required for building/running crund, benchmark scripts # absolute path to installation directory (no whitespace, no quotes) #MYSQL_HOME=/Users/.../mysql/bin-7.3-opt MYSQL_HOME=/Users/.../mysql/bin-7.3-dbg #MYSQL_HOME=/Users/.../mysql/bin-7.1-crund # select whether $MYSQL_HOME is 32/64 bit TARGET_ARCH=-m64 #TARGET_ARCH=-m32 # executable paths, used by benchmark scripts MYSQL_BIN=$MYSQL_HOME/bin MYSQL_LIBEXEC=$MYSQL_HOME/libexec # include paths options NDB_INCLUDEOPT0=-I"${MYSQL_HOME}/include/mysql/storage/ndb" NDB_INCLUDEOPT1=${NDB_INCLUDEOPT0}/ndbapi NDB_INCLUDEOPT2=-I"${MYSQL_HOME}/include/storage/ndb" NDB_INCLUDEOPT3=${NDB_INCLUDEOPT2}/ndbapi # library paths NDB_LIBDIR0=${MYSQL_HOME}/lib/mysql NDB_LIBDIR1=${MYSQL_HOME}/lib # ---------------------------------------------------------------------- # # Mandatory: JDK JNI Paths # # required for building/running MLH utilities (below) # include paths options JAVA_INCLUDEOPT0=-I"/System/Library/Frameworks/JavaVM.framework/Headers" #JAVA_INCLUDEOPT0=-I"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers" #JAVA_INCLUDEOPT0=-I"/usr/lib/jvm/default-java/include" #JAVA_INCLUDEOPT0=-I"/usr/lib/jvm/java-6-openjdk/include" JAVA_INCLUDEOPT1=${JAVA_INCLUDEOPT0}/linux # ---------------------------------------------------------------------- # # Optional: Common Path to External JAR Files # # required if used by other paths below # absolute path to jar file directory (no whitespace, no quotes) EXTERNAL_JARS=/Users/.../mysql/lib # ---------------------------------------------------------------------- # # Optional: MySQL JDBC Paths # # required for running JdbcLoad, JpaLoad on MySQL # jar paths (no whitespace, no quotes) # get from http://dev.mysql.com/downloads/cluster #MYSQL_JDBC_JAR=${EXTERNAL_JARS}/mysql-connector-java-5.1.16-bin.jar MYSQL_JDBC_JAR=${EXTERNAL_JARS}/mysql-connector-java-5.1.25-bin.jar # ---------------------------------------------------------------------- # # Optional: ClusterJ-JDBC Paths # # required for running JdbcLoad on ClusterJ # jar paths (no whitespace, no quotes) CLUSTERJDBC_JAR=${MYSQL_HOME}/share/mysql/java/clusterj.jar ANTLR32_JAR=${EXTERNAL_JARS}/antlr-3.2.jar ANTLRRUNTIME_JAR=${EXTERNAL_JARS}/antlr-runtime-3.2.jar # ---------------------------------------------------------------------- # # Optional: JPA API Paths # # required for building/running JpaLoad # jar paths (no whitespace, no quotes) # get from http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-binary.zip JPA_API_JAR=${EXTERNAL_JARS}/geronimo-jpa_3.0_spec-1.0.jar # ---------------------------------------------------------------------- # # Optional: Apache OpenJPA Paths # # required for running JpaLoad on OpenJPA # jar paths (no whitespace, no quotes) # get from http://archive.apache.org/dist/openjpa/1.2.2/apache-openjpa-1.2.2-binary.zip JTA_API_JAR=${EXTERNAL_JARS}/geronimo-jta_1.1_spec-1.1.1.jar OPENJPA_JAR=${EXTERNAL_JARS}/openjpa-1.2.2.jar SERP_JAR=${EXTERNAL_JARS}/serp-1.13.1.jar COMMONS_LANG_JAR=${EXTERNAL_JARS}/commons-lang-2.4.jar COMMONS_COLLECTIONS_JAR=${EXTERNAL_JARS}/commons-collections-3.2.1.jar COMMONS_POOL_JAR=${EXTERNAL_JARS}/commons-pool-1.5.3.jar # ---------------------------------------------------------------------- # # Optional: ClusterJPA Jar Path # # required for running JpaLoad on ClusterJ # jar path (no whitespace, no quotes) CLUSTERJPA_JAR=${MYSQL_HOME}/share/mysql/java/clusterjpa.jar # ---------------------------------------------------------------------- # # Leave as is: ClusterJ Paths # # required for building/running NdbJTieLoad, ClusterjLoad # jar paths (no whitespace, no quotes) CLUSTERJ_API_JAR=${MYSQL_HOME}/share/mysql/java/clusterj-api.jar CLUSTERJ_JAR=${MYSQL_HOME}/share/mysql/java/clusterj.jar # ---------------------------------------------------------------------- # # Leave as is: NdbJTie Paths # # required for building/running NdbJTieLoad # jar path (no whitespace, no quotes) NDBJTIE_JAR=${CLUSTERJ_JAR} # ---------------------------------------------------------------------- # # Leave as is: "Helpers" Utilities Paths # # required for building/running the crund java, c++ driver # relative path from crund c++ source dir (no whitespace, no quotes) HELPERS=../../helpers/src/utils # ----------------------------------------------------------------------