remove some legacy code and update for more recent code changes

This commit is contained in:
Axel Kohlmeyer
2022-12-27 14:38:59 -05:00
parent 7fb9ee1147
commit fa55a86074
2 changed files with 4 additions and 19 deletions

View File

@ -12,8 +12,6 @@ LC_ALL=C
export LC_ALL GREP_OPTIONS
# function to create one style_*.h file
# must whack *.d files that depend on style_*.h file,
# else Make will not recreate them
style () {
list=`grep -sl $1 $2*.h`

View File

@ -57,17 +57,11 @@ if (test $mode = 1) then
sed -i -e 's|^PKG_INC =[ \t]*|&-DLMP_OPENMP |' ../Makefile.package
fi
# need to delete a bunch of dependency files because they
# indirectly depend on user_cuda.h
for f in finish.d modify_cuda.d
do \
rm -f ../Obj_*/$f
done
# force rebuild of files with LMP_OPENMP switch
touch ../accelerator_omp.h
touch ../info.cpp
touch ../finish.cpp
elif (test $mode = 0) then
@ -75,16 +69,9 @@ elif (test $mode = 0) then
sed -i -e 's/[^ \t]*OPENMP[^ \t]* //' ../Makefile.package
fi
# need to delete a bunch of dependency files because they
# indirectly depend on user_cuda.h
for f in finish.d modify_cuda.d
do \
rm -f ../Obj_*/$f
done
# force rebuild of files with LMP_OPENMP switch
touch ../accelerator_omp.h
touch ../info.cpp
touch ../finish.cpp
fi