You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script is used to continually test the back-deployment use case of libc++ and libc++abi on MacOS.
10
10
11
-
--libcxx-root Full path to the root of the libc++ repository to test.
12
-
--libcxxabi-root Full path to the root of the libc++abi repository to test.
11
+
--monorepo-root Full path to the root of the LLVM monorepo. Both libc++ and libc++abi headers from the monorepo are used.
13
12
--std Version of the C++ Standard to run the tests under (c++03, c++11, etc..).
14
13
--arch Architecture to build the tests for (32, 64).
15
14
--deployment-target The deployment target to run the tests for. This should be a version number of MacOS (e.g. 10.12). All MacOS versions until and including 10.9 are supported.
@@ -22,19 +21,10 @@ EOM
22
21
23
22
while [[ $#-gt 0 ]];do
24
23
case"$1"in
25
-
--libcxx-root)
26
-
LIBCXX_ROOT="${2}"
27
-
if [[ !-d"${LIBCXX_ROOT}" ]];then
28
-
echo"--libcxx-root '${LIBCXX_ROOT}' is not a valid directory"
29
-
usage
30
-
exit 1
31
-
fi
32
-
shift;shift
33
-
;;
34
-
--libcxxabi-root)
35
-
LIBCXXABI_ROOT="${2}"
36
-
if [[ !-d"${LIBCXXABI_ROOT}" ]];then
37
-
echo"--libcxxabi-root '${LIBCXXABI_ROOT}' is not a valid directory"
24
+
--monorepo-root)
25
+
MONOREPO_ROOT="${2}"
26
+
if [[ !-d"${MONOREPO_ROOT}" ]];then
27
+
echo"--monorepo-root '${MONOREPO_ROOT}' is not a valid directory"
38
28
usage
39
29
exit 1
40
30
fi
@@ -76,8 +66,7 @@ while [[ $# -gt 0 ]]; do
76
66
esac
77
67
done
78
68
79
-
if [[ -z${LIBCXX_ROOT+x} ]];thenecho"--libcxx-root is a required parameter"; usage;exit 1;fi
80
-
if [[ -z${LIBCXXABI_ROOT+x} ]];thenecho"--libcxxabi-root is a required parameter"; usage;exit 1;fi
69
+
if [[ -z${MONOREPO_ROOT+x} ]];thenecho"--monorepo-root is a required parameter"; usage;exit 1;fi
81
70
if [[ -z${STD+x} ]];thenecho"--std is a required parameter"; usage;exit 1;fi
82
71
if [[ -z${ARCH+x} ]];thenecho"--arch is a required parameter"; usage;exit 1;fi
83
72
if [[ -z${DEPLOYMENT_TARGET+x} ]];thenecho"--deployment-target is a required parameter"; usage;exit 1;fi
0 commit comments