aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/config.sh
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2015-12-03 04:48:15 +0100
committerTristan Gingold <gingold@adacore.com>2015-12-03 04:48:15 +0100
commit6956cc80516f1dfc74a06a75b068437afba036ed (patch)
tree53dd811d0904efe594ec1cfe9692a224bde4456c /libraries/vendors/config.sh
parentf7b737b52f57a46c2f96ad87ee50741abc415ed3 (diff)
downloadghdl-6956cc80516f1dfc74a06a75b068437afba036ed.tar.gz
ghdl-6956cc80516f1dfc74a06a75b068437afba036ed.tar.bz2
ghdl-6956cc80516f1dfc74a06a75b068437afba036ed.zip
Add vendor specific library compile scripts for linux.
Merge branch from Paebbels.
Diffstat (limited to 'libraries/vendors/config.sh')
-rw-r--r--libraries/vendors/config.sh49
1 files changed, 49 insertions, 0 deletions
diff --git a/libraries/vendors/config.sh b/libraries/vendors/config.sh
new file mode 100644
index 000000000..1be343bc3
--- /dev/null
+++ b/libraries/vendors/config.sh
@@ -0,0 +1,49 @@
+#! /bin/bash
+# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*-
+# vim: tabstop=2:shiftwidth=2:noexpandtab
+# kate: tab-width 2; replace-tabs off; indent-width 2;
+#
+# ==============================================================================
+# Bash Script: Configurable directories to local installed tools
+#
+# Authors: Patrick Lehmann
+#
+# Description:
+# ------------------------------------
+# This Bash file exports variables containing the users local tool environment.
+#
+# ==============================================================================
+# Copyright (C) 2015 Patrick Lehmann
+#
+# GHDL is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2, or (at your option) any later
+# version.
+#
+# GHDL 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
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GHDL; see the file COPYING. If not, write to the Free
+# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+# ==============================================================================
+
+declare -A InstallationDirectory
+InstallationDirectory[AlteraQuartusII]="/opt/Altera/15.0"
+InstallationDirectory[XilinxISE]="/opt/Xilinx/14.7"
+InstallationDirectory[XilinxVivado]="/opt/Xilinx/Vivado/2014.4"
+InstallationDirectory[OSVVM]="/home/paebbels/git/PoC/lib/osvvm"
+InstallationDirectory[VUnit]="/home/paebbels/git/PoC/lib/vunit"
+
+declare -A DestinationDirectory
+DestinationDirectory[AlteraQuartusII]="altera"
+DestinationDirectory[XilinxISE]="xilinx"
+DestinationDirectory[XilinxVivado]="vivado"
+DestinationDirectory[OSVVM]="osvvm"
+DestinationDirectory[VUnit]="vuint"
+
+# input files greater than $LARGE_FILESIZE are skipped if '--skip-largefiles' is set
+LARGE_FILESIZE=125000