fix bugs in test link c++
This commit is contained in:
		
							parent
							
								
									f5bb3188b2
								
							
						
					
					
						commit
						3adc1c8d64
					
				| @ -2,4 +2,3 @@ End of Compilation | |||||||
| Compilation successful for file | Compilation successful for file | ||||||
| Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192. | Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192. | ||||||
| The device linker only supports static linking.  Any device code placed into a shared library by the qmkshrobj option will be inaccessible. | The device linker only supports static linking.  Any device code placed into a shared library by the qmkshrobj option will be inaccessible. | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -62,15 +62,20 @@ co="" | |||||||
| ./test.sh basic.sh $src_dir -co: $co -mo: $mo | ./test.sh basic.sh $src_dir -co: $co -mo: $mo | ||||||
| ./renametest.sh basic $output_dir/basic-default | ./renametest.sh basic $output_dir/basic-default | ||||||
| 
 | 
 | ||||||
|  | eval ./test.sh configure.sh $src_dir $co | ||||||
|  | eval ./test.sh make.sh      $src_dir $mo | ||||||
| # Test linking for different languages (depends on previous compile test) | # Test linking for different languages (depends on previous compile test) | ||||||
| link_opts="all++ all77" | link_opts="all++ all77" | ||||||
| for opt in $link_opts | for opt in $link_opts | ||||||
| do | do | ||||||
|    output_subdir=$output_dir/link$opt |    output_subdir=$output_dir/link$opt | ||||||
|    mkdir -p $output_subdir |    mkdir -p $output_subdir | ||||||
|  |    cp -r configure.??? make.??? $output_subdir | ||||||
|    ./test.sh link.sh $src_dir $opt |    ./test.sh link.sh $src_dir $opt | ||||||
|    mv -f link.??? $output_subdir |    mv -f link.??? $output_subdir | ||||||
| done | done | ||||||
|  | rm -rf configure.??? make.??? | ||||||
|  | ( cd $src_dir; make distclean ) | ||||||
| 
 | 
 | ||||||
| co="--without-MPI" | co="--without-MPI" | ||||||
| ./test.sh basic.sh $src_dir -co: $co -mo: $mo | ./test.sh basic.sh $src_dir -co: $co -mo: $mo | ||||||
|  | |||||||
| @ -469,7 +469,7 @@ HYPRE_Int composeSharedNodes(HYPRE_Int nElems, HYPRE_Int elemNNodes, HYPRE_Int * | |||||||
|                sharedIDs[nShared++] = index; |                sharedIDs[nShared++] = index; | ||||||
|          } |          } | ||||||
|       } |       } | ||||||
|       qsort0(sharedIDs, 0, nShared-1); |       hypre_qsort0(sharedIDs, 0, nShared-1); | ||||||
|       ncnt = 1; |       ncnt = 1; | ||||||
|       for (i = 1; i < nShared; i++) |       for (i = 1; i < nShared; i++) | ||||||
|       { |       { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Ruipeng Li
						Ruipeng Li