mirror of https://github.com/ecmwf/eccodes.git
Remove the line pragmas which confused debugger
This commit is contained in:
parent
ba22d631d2
commit
b08f88da5a
|
@ -3,6 +3,7 @@ set -xe
|
|||
|
||||
cd ../tests
|
||||
|
||||
echo "List all keys..."
|
||||
./list_all_keys.ksh
|
||||
|
||||
cd ../src
|
||||
|
@ -11,7 +12,7 @@ cd ../src
|
|||
|
||||
gperf -l -C -I -t -G -H hash_keys -N grib_keys_hash_get -m 3 ../tests/keys |\
|
||||
sed '/__attribute__ ((__gnu_inline__))/d' |\
|
||||
sed s/__inline//g | sed s/inline//g > grib_hash_keys.c
|
||||
sed s/__inline//g | sed s/inline//g | sed -e '/^#line /d' > grib_hash_keys.c
|
||||
|
||||
cat grib_itrie_keys.c >> grib_hash_keys.c
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ fi
|
|||
|
||||
set +x
|
||||
touch tmp$$
|
||||
echo "Go through all files in $ECCODES_DEFINITION_PATH ..."
|
||||
for file in `find $ECCODES_DEFINITION_PATH -name '*.def' -print`
|
||||
do
|
||||
${GRIB_LIST_KEYS} $file >> tmp$$
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/ksh
|
||||
set -x
|
||||
set -ex
|
||||
|
||||
./list_all_keys.ksh
|
||||
|
||||
|
||||
gperf -I -t -G -H hash_keys -N grib_keys_hash_get -m 3 keys > ../src/grib_hash_keys.c
|
||||
|
||||
cat ../src/grib_itrie_keys.c >> ../src/grib_hash_keys.c
|
||||
cat ../src/grib_itrie_keys.c | sed -e '/^#line /d' >> ../src/grib_hash_keys.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue