| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 ConfigureStep() { | 7 ConfigureStep() { |
| 10 Banner "Configuring ${PACKAGE_NAME}" | 8 Banner "Configuring ${PACKAGE_NAME}" |
| 11 local EXTRA_ARGS="" | 9 local EXTRA_ARGS="" |
| 12 local machine="i686" | 10 local machine="i686" |
| 13 if [ "${NACL_GLIBC}" != "1" ] ; then | 11 if [ "${NACL_GLIBC}" != "1" ] ; then |
| 14 local GLIBC_COMPAT=${NACLPORTS_INCLUDE}/glibc-compat | 12 local GLIBC_COMPAT=${NACLPORTS_INCLUDE}/glibc-compat |
| 15 if [ ! -f ${GLIBC_COMPAT}/netdb.h ]; then | 13 if [ ! -f ${GLIBC_COMPAT}/netdb.h ]; then |
| 16 echo "Please install glibc-compat first" | 14 echo "Please install glibc-compat first" |
| 17 exit 1 | 15 exit 1 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 # Plain make works better and doesn't muck with CC, etc. | 78 # Plain make works better and doesn't muck with CC, etc. |
| 81 # Otherwise, we end up missing -ldl for GLIBC... | 79 # Otherwise, we end up missing -ldl for GLIBC... |
| 82 make | 80 make |
| 83 fi | 81 fi |
| 84 for test_name in ${passing_tests}; do | 82 for test_name in ${passing_tests}; do |
| 85 RunSelLdrCommand ${test_name} | 83 RunSelLdrCommand ${test_name} |
| 86 done | 84 done |
| 87 RunSelLdrCommand evp_test evptests.txt | 85 RunSelLdrCommand evp_test evptests.txt |
| 88 popd | 86 popd |
| 89 } | 87 } |
| 90 | |
| 91 | |
| 92 PackageInstall | |
| 93 exit 0 | |
| OLD | NEW |