6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Update the scripts to use java version of spp Reviewed-by: alanb
This commit is contained in:
parent
93225a0b60
commit
b9638d0527
@ -23,10 +23,10 @@
|
||||
# have any questions.
|
||||
#
|
||||
|
||||
SPP='sh ../../../../make/java/nio/spp.sh'
|
||||
javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java > Spp.java
|
||||
|
||||
gen() {
|
||||
$SPP -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3 <Basic-X.java >Basic$2.java
|
||||
java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3 <Basic-X.java >Basic$2.java
|
||||
}
|
||||
|
||||
gen byte Byte Byte
|
||||
@ -36,3 +36,5 @@ gen int Int Integer
|
||||
gen long Long Long
|
||||
gen float Float Float
|
||||
gen double Double Double
|
||||
|
||||
rm -rf build
|
||||
|
@ -23,10 +23,10 @@
|
||||
# have any questions.
|
||||
#
|
||||
|
||||
SPP='sh ../../../../make/java/nio/spp.sh'
|
||||
javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java > Spp.java
|
||||
|
||||
gen() {
|
||||
$SPP -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3<CopyDirect-X-Memory.java >CopyDirect$2Memory.java
|
||||
java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3<CopyDirect-X-Memory.java >CopyDirect$2Memory.java
|
||||
}
|
||||
|
||||
gen byte Byte Byte
|
||||
@ -37,3 +37,4 @@ gen long Long Long
|
||||
gen float Float Float
|
||||
gen double Double Double
|
||||
|
||||
rm -rf build
|
||||
|
Loading…
x
Reference in New Issue
Block a user