diff options
Diffstat (limited to 'build-0.3/c/intel/configure')
-rwxr-xr-x | build-0.3/c/intel/configure | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/build-0.3/c/intel/configure b/build-0.3/c/intel/configure deleted file mode 100755 index e829cea..0000000 --- a/build-0.3/c/intel/configure +++ /dev/null @@ -1,57 +0,0 @@ -#! /usr/bin/env bash - -# file : build/c/intel/configure -# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC -# license : GNU GPL v2; see accompanying LICENSE file - -# $1 out file -# $2 optimize (y/n) -# $3 c_extra_options -# $4 c_ld_extra_options -# -# bld_root - build root -# project_name - project name -# - - -source $bld_root/dialog.bash - -$echo -$echo -$echo "configuring '$project_name'" -$echo -$echo - -$echo -$echo "Please enter the icc binary you would like to use, for example " -$echo "'/opt/intel_cc_80/bin/icc'." -$echo - -c_intel=`read_path --command icc` - -# Pass c_extra_options and c_ld_extra_options since those can affect the -# search paths (e.g., -m32) and target. -# -c_intel_libraries=`$c_intel $3 $4 -print-search-dirs | sed -e 's/libraries: =//p' -e d` - -# Intel optimizes by default. -# -optimization=-O0 - -if [ "$2" == "y" ]; then - - $echo - $echo "Please select the optimization level you would like to use:" - $echo - $echo "(1) -O1 [Enable optimizations.]" - $echo "(2) -O2 [Same as -O1.]" - $echo "(3) -O3 [As -O2 plus more aggressive optimizations that may not" - $echo " improve performance for all programs.]" - $echo - - optimization=`read_option "-O1 -O2 -O3" "-O2"` -fi - -echo "c_intel := $c_intel" > $1 -echo "c_intel_libraries := $c_intel_libraries" >> $1 -echo "c_intel_optimization_options := $optimization" >> $1 |