Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other bashisms in configure #67

Open
Alessandro-Barbieri opened this issue Jun 2, 2022 · 0 comments
Open

other bashisms in configure #67

Alessandro-Barbieri opened this issue Jun 2, 2022 · 0 comments

Comments

@Alessandro-Barbieri
Copy link

extrae version 4.0.1

I've run checkbashisms on configure

$ checkbashisms extrae-4.0.1/configure
possible bashism in extrae-4.0.1/configure line 355 ([^] should be [!]):
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
possible bashism in extrae-4.0.1/configure line 359 ([^] should be [!]):
	  /^X\(\/\/\)[^/].*/{
possible bashism in extrae-4.0.1/configure line 473 ([^] should be [!]):
    sed '/^.*\/\([^/][^/]*\)\/*$/{
possible bashism in extrae-4.0.1/configure line 537 (unsafe echo with backslash):
  case `echo 'xy\c'` in
possible bashism in extrae-4.0.1/configure line 5000 (should be 'b = a'):
                 if test "${target_cpu}" == "aarch64" ; then
possible bashism in extrae-4.0.1/configure line 5039 (should be 'b = a'):
				 if test "${target_cpu}" == "riscv64" ; then
possible bashism in extrae-4.0.1/configure line 5212 (should be 'b = a'):
if test ${cross_compiling} == "no"; then
possible bashism in extrae-4.0.1/configure line 8700 ([^] should be [!]):
    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
	s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
possible bashism in extrae-4.0.1/configure line 8809 ([^] should be [!]):
    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
	s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
possible bashism in extrae-4.0.1/configure line 11011 (should be >word 2>&1):
		which dpkg-architecture &> /dev/null
possible bashism in extrae-4.0.1/configure line 11028 (should be 'b = a'):
			if test "C" == "C" ; then
possible bashism in extrae-4.0.1/configure line 11193 (should be >word 2>&1):
		which dpkg-architecture &> /dev/null
possible bashism in extrae-4.0.1/configure line 11210 (should be 'b = a'):
			if test "C++" == "C" ; then
possible bashism in extrae-4.0.1/configure line 12928 (should be 'b = a'):
   if test "x$with_pmpi_hook" == "xdlsym"
possible bashism in extrae-4.0.1/configure line 13242 (should be VAR="${VAR}foo"):
            GASPI_LIBS+="-lGPI2 "
possible bashism in extrae-4.0.1/configure line 13253 ('((' should be '$(('):
      if (( $found == 0 )); then
possible bashism in extrae-4.0.1/configure line 14833 (shopt):
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
possible bashism in extrae-4.0.1/configure line 43705 ([^] should be [!]):
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3"/p
possible bashism in extrae-4.0.1/configure line 45028 (should be VAR="${VAR}foo"):
			MPI_EXTRA_CAPABILITIES+=" peruse"
possible bashism in extrae-4.0.1/configure line 45031 (should be VAR="${VAR}foo"):
			MPI_EXTRA_CAPABILITIES+=" 1-sided"
possible bashism in extrae-4.0.1/configure line 45034 (should be VAR="${VAR}foo"):
			MPI_EXTRA_CAPABILITIES+=" I/O"
possible bashism in extrae-4.0.1/configure line 45037 (should be VAR="${VAR}foo"):
			MPI_EXTRA_CAPABILITIES+=" MPI_Comm_spawn"
possible bashism in extrae-4.0.1/configure line 45040 (should be VAR="${VAR}foo"):
			MPI_EXTRA_CAPABILITIES+=" MPI3"
possible bashism in extrae-4.0.1/configure line 45042 (echo -e):
		echo -e \\\tMPI home:             ${MPI_HOME}
possible bashism in extrae-4.0.1/configure line 45044 (echo -e):
		echo -e \\\tMPI launcher:         ${MPIRUN}
possible bashism in extrae-4.0.1/configure line 45046 (echo -e):
		echo -e \\\tMPI launcher was not found. It is NOT necessary to compile Extrae but it is necessary to execute the regression tests.
possible bashism in extrae-4.0.1/configure line 45048 (echo -e):
		echo -e \\\tFortran decoration:   ${FORTRAN_DECORATION}
possible bashism in extrae-4.0.1/configure line 45049 (echo -e):
		echo -e \\\tmixed C/Fortran libraries? ${mpi_lib_contains_c_and_fortran}
possible bashism in extrae-4.0.1/configure line 45050 (echo -e):
		echo -e \\\tshared libraries?     ${MPI_SHARED_LIB_FOUND}
possible bashism in extrae-4.0.1/configure line 45051 (echo -e):
		echo -e \\\tMPI capabilities:     ${MPI_EXTRA_CAPABILITIES}
possible bashism in extrae-4.0.1/configure line 45057 (echo -e):
		echo -e \\\tGASPI home:             ${GASPI_HOME}
possible bashism in extrae-4.0.1/configure line 45059 (echo -e):
		echo -e \\\tGASPI launcher:         ${GASPI_BIN_gaspi_run}
possible bashism in extrae-4.0.1/configure line 45061 (echo -e):
		echo -e \\\tGASPI launcher was not found. It is NOT necessary to compile Extrae but it is necessary to execute the regression tests.
possible bashism in extrae-4.0.1/configure line 45069 (echo -e):
			echo -e \\\tGNU OpenMP: yes
possible bashism in extrae-4.0.1/configure line 45071 (echo -e):
			echo -e \\\tGNU OpenMP: no
possible bashism in extrae-4.0.1/configure line 45073 (echo -e):
		echo -e \\\tIBM OpenMP: ${enable_openmp_ibm}
possible bashism in extrae-4.0.1/configure line 45074 (echo -e):
		echo -e \\\tIntel OpenMP: ${enable_openmp_intel}
possible bashism in extrae-4.0.1/configure line 45075 (echo -e):
		echo -e \\\tOMPT: ${enable_openmp_ompt}
possible bashism in extrae-4.0.1/configure line 45083 (echo -e):
    echo -e \\\tOpenSHMEM home:            ${OPENSHMEM_HOME}
possible bashism in extrae-4.0.1/configure line 45091 (echo -e):
		echo -e \\\tSupport for pthread_barrier_wait: ${pthread_barrier_wait_exists}
possible bashism in extrae-4.0.1/configure line 45092 (echo -e):
		echo -e \\\tSupport for pthread_cond_* calls: ${enable_pthread_cond_calls}
possible bashism in extrae-4.0.1/configure line 45100 (echo -e):
		echo -e \\\tCUDA : ${CUDA_HOME}
possible bashism in extrae-4.0.1/configure line 45101 (echo -e):
		echo -e \\\tCUPTI: ${CUPTI_HOME}
possible bashism in extrae-4.0.1/configure line 45105 (echo -e):
			echo -e \\\tCUDA: ${CUDA_HOME}
possible bashism in extrae-4.0.1/configure line 45115 (echo -e):
		echo -e \\\tOpenCL home: ${opencl_path}
possible bashism in extrae-4.0.1/configure line 45123 (echo -e):
		echo -e \\\tOPENACC home:             ${OPENACC_HOME}
possible bashism in extrae-4.0.1/configure line 45129 (echo -e):
		echo -e \\\tJVMTI support: ${JVMTI_found}
possible bashism in extrae-4.0.1/configure line 45131 (echo -e):
			echo -e \\\tAspectJ support: yes
possible bashism in extrae-4.0.1/configure line 45132 (echo -e):
			echo -e \\\tAspectJ compiler: ${AJC}
possible bashism in extrae-4.0.1/configure line 45133 (echo -e):
			echo -e \\\tAspectJ weaver: ${ASPECT_WEAVER_JAR}
possible bashism in extrae-4.0.1/configure line 45135 (echo -e):
			echo -e \\\tAspectJ support: no
possible bashism in extrae-4.0.1/configure line 45146 (echo -e):
			echo -e \\\tPerformance API:  PMAPI
possible bashism in extrae-4.0.1/configure line 45148 (echo -e):
			echo -e \\\tPerformance API:  PAPI
possible bashism in extrae-4.0.1/configure line 45149 (echo -e):
			echo -e \\\tPAPI home:        ${PAPI_HOME}
possible bashism in extrae-4.0.1/configure line 45150 (echo -e):
			echo -e \\\tSampling support: ${PAPI_SAMPLING_ENABLED}
possible bashism in extrae-4.0.1/configure line 45203 (echo -e):
		echo -e callstack access: through libunwind \(${UNWIND_HOME}\)
possible bashism in extrae-4.0.1/configure line 45226 (echo -e):
		echo -e \\\tClustering suite available: ${CLUSTERING_INSTALLED}
possible bashism in extrae-4.0.1/configure line 45227 (echo -e):
		echo -e \\\tSpectral analysis available: ${SPECTRAL_INSTALLED}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant