Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Commit

Permalink
native: cross platform sed substitution string
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Apr 28, 2015
1 parent 5c36c64 commit a26601d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions native/single_precision
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

WARNING="//\n// Float32 implementations are autogenerated and not directly tested.\n"

# Reject sed that cannot include "\n" in the substitution.
if echo -e 'foo' | sed 's_foo_\n_' | grep 'n' >/dev/null
then
echo "single_precision generate script requires GNU sed or equivalent."
exit 1
fi
WARNING='//\
// Float32 implementations are autogenerated and not directly tested.\
'

# Level1 routines.

Expand Down

0 comments on commit a26601d

Please sign in to comment.