diff options
author | James <james.mckenzie@citrix.com> | 2013-10-13 13:44:07 +0100 |
---|---|---|
committer | James <james.mckenzie@citrix.com> | 2013-10-13 13:44:07 +0100 |
commit | 8e7615994bd4f76038484b376fdc67e96a22a313 (patch) | |
tree | 1c09390b7d759f3d7c06de24b6a89b89e4e230b4 /tools | |
parent | 99614c1b15a1830308053c2fb8403a5c7cca2ed1 (diff) | |
download | pong-8e7615994bd4f76038484b376fdc67e96a22a313.tar.gz pong-8e7615994bd4f76038484b376fdc67e96a22a313.tar.bz2 pong-8e7615994bd4f76038484b376fdc67e96a22a313.zip |
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/wrap | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ -#!/bin/sh +#!/bin/bash AD=/software/apps/altera/quartus_ii_13.0sp1 -LL=linux +if [ $(uname -m ) == "x86_64" ]; then + LL=linux64 +else + LL=linux +fi QUARTUS_ROOTDIR="${AD}/quartus" PATH="${AD}/quartus/bin:${AD}/quartus/sopc_builder/bin:${AD}/nios2eds/sdk2/bin:${AD}/nios2eds/bin:${AD}/nios2eds/bin/gnu/H-i686-pc-linux-gnu/bin:${PATH}" LD_LIBRARY_PATH="${AD}/quartus/${LL}:${LD_LIBRARY_PATH}" |