mirror of
https://github.com/amd/blis.git
synced 2026-05-11 09:39:59 +00:00
Change to /bin/sh.
All scripts checked with Debian's checkbashisms. Also check for clang first in auto-detect.sh.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
@@ -41,7 +41,11 @@
|
||||
|
||||
main()
|
||||
{
|
||||
CC=gcc
|
||||
if [ clang -v > /dev/null 2>&1 ]; then
|
||||
CC=clang
|
||||
else
|
||||
CC=gcc
|
||||
fi
|
||||
CPUID_SRC=cpuid_x86.c
|
||||
CPUID_BIN=blis_cpu_detect
|
||||
ARCH=reference
|
||||
@@ -59,12 +63,6 @@ main()
|
||||
# of the distribution and the directory in which we are building.
|
||||
cur_dirpath="."
|
||||
|
||||
|
||||
OSNAME=`uname`
|
||||
if [ $OSNAME = "Darwin" ]; then
|
||||
CC=clang
|
||||
fi
|
||||
|
||||
#
|
||||
# Detect architecture by predefined macros
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
@@ -374,10 +374,6 @@ gen_mkfiles()
|
||||
|
||||
read_mkfile_config()
|
||||
{
|
||||
local index lname
|
||||
declare -i count
|
||||
|
||||
|
||||
# Read the file describing file suffixes.
|
||||
src_file_suffixes=$(cat "${suffix_file}")
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2017, Advanced Micro Devices, Inc.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
|
||||
Reference in New Issue
Block a user