|
54 | 54 | }, |
55 | 55 | # Support Libraries. |
56 | 56 | # Projects depending on these will *not be built* if the 'optional' is 'True' for the given OS/architecture. |
57 | | - # This is a dummy library for dragonegg support. |
58 | | - "DRAGONEGG_SUPPORT" : { |
59 | | - "os_arch" : { |
60 | | - "linux" : { |
61 | | - "amd64" : { |
62 | | - "path": "tests/support.txt", |
63 | | - "digest": "sha512:c02b248975b267f4200603ff2ae40b9d0cdefad4a792f386d610f2b14fb4e67e288c235fd11ed596dd8c91a3dae62fdd741bf97b5c01b5f085485f221702f0a1", |
64 | | - }, |
65 | | - "<others>": {"optional": True}, |
66 | | - }, |
67 | | - "<others>": {"<others>" : {"optional": True}}, |
68 | | - }, |
69 | | - }, |
70 | 57 | # This is a dummy library for malloc.h support. |
71 | 58 | "MALLOC_H_SUPPORT" : { |
72 | 59 | "os_arch" : { |
|
963 | 950 | "LIBCXX_INCLUDE_BENCHMARKS": "NO", |
964 | 951 | "LIBCXX_INCLUDE_TESTS": "NO", |
965 | 952 | "LIBCXX_ENABLE_STATIC" : "NO", |
| 953 | + "LIBUNWIND_ENABLE_STATIC" : "NO", |
966 | 954 | "CMAKE_INSTALL_PREFIX" : "native", |
967 | 955 | # workaround for build problem with cmake >=3.22 |
968 | 956 | # see https://lists.llvm.org/pipermail/llvm-dev/2021-December/154144.html |
|
978 | 966 | "cmakeConfig" : { |
979 | 967 | "CMAKE_INSTALL_RPATH" : "\\$ORIGIN", |
980 | 968 | "LLVM_ENABLE_RUNTIMES" : "libcxx;libcxxabi;libunwind", |
| 969 | + "CMAKE_ASM_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 970 | + "CMAKE_C_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 971 | + "CMAKE_CXX_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
981 | 972 | }, |
982 | 973 | }, |
983 | 974 | "linux-musl" : { |
|
988 | 979 | "CMAKE_INSTALL_RPATH" : "\\$ORIGIN", |
989 | 980 | "LLVM_ENABLE_RUNTIMES" : "libcxx;libcxxabi;libunwind", |
990 | 981 | "LIBCXX_HAS_MUSL_LIBC" : "YES", |
| 982 | + "CMAKE_ASM_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 983 | + "CMAKE_C_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 984 | + "CMAKE_CXX_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
991 | 985 | }, |
992 | 986 | }, |
993 | 987 | "darwin" : { |
|
998 | 992 | "CMAKE_INSTALL_RPATH" : "@loader_path/", |
999 | 993 | "LLVM_ENABLE_RUNTIMES" : "libcxx;libcxxabi;libunwind", |
1000 | 994 | "CMAKE_LIBTOOL" : "<path:LLVM_TOOLCHAIN>/bin/llvm-libtool-darwin", |
| 995 | + "CMAKE_ASM_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 996 | + "CMAKE_C_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
| 997 | + "CMAKE_CXX_FLAGS": "-ffile-prefix-map=<sulong_prefix:com.oracle.truffle.llvm.libraries.bitcode.libcxx>=llvm-project", |
1001 | 998 | }, |
1002 | 999 | }, |
1003 | 1000 | "windows" : { |
|
1109 | 1106 | "com.oracle.truffle.llvm.tests.sulong.native" : { |
1110 | 1107 | "subDir" : "tests", |
1111 | 1108 | "class" : "SulongCMakeTestSuite", |
1112 | | - "variants" : ["bitcode-O0", "bitcode-O1", "bitcode-O2", "bitcode-O3", "gcc-O0"], |
| 1109 | + "variants" : ["bitcode-O0", "bitcode-O1", "bitcode-O2", "bitcode-O3"], |
1113 | 1110 | "dependencies" : ["SULONG_TEST"], |
1114 | 1111 | "testProject" : True, |
1115 | 1112 | "defaultBuild" : False, |
|
1524 | 1521 | "testProject" : True, |
1525 | 1522 | "defaultBuild" : False, |
1526 | 1523 | }, |
1527 | | - "gcc_fortran" : { |
1528 | | - "subDir" : "tests/gcc", |
1529 | | - # The Ninja generator used by mx (version 1.8.2) does not support Fortran using Ninja version [GR-30808] |
1530 | | - # "class" : "ExternalCMakeTestSuite", |
1531 | | - # "variants" : ["executable-O0"], |
1532 | | - "class" : "ExternalTestSuite", |
1533 | | - "variants" : ["O0_OUT"], |
1534 | | - "testDir" : "gcc-5.2.0/gcc/testsuite", |
1535 | | - "fileExts" : [".f90", ".f", ".f03"], |
1536 | | - "requireDragonegg" : True, |
1537 | | - "native" : True, |
1538 | | - "vpath" : True, |
1539 | | - "single_job" : True, # problem with parallel builds and temporary module files |
1540 | | - "buildRef" : True, |
1541 | | - "dependencies" : ["SULONG_TEST"], |
1542 | | - "buildDependencies" : [ |
1543 | | - "GCC_SOURCE", |
1544 | | - "DRAGONEGG_SUPPORT", |
1545 | | - ], |
1546 | | - "testProject" : True, |
1547 | | - "defaultBuild" : False, |
1548 | | - }, |
1549 | 1524 | "parserTorture" : { |
1550 | 1525 | "subDir" : "tests/gcc", |
1551 | 1526 | "class" : "ExternalCMakeTestSuite", |
|
1896 | 1871 | }, |
1897 | 1872 | "<others>" : { |
1898 | 1873 | "layout" : { |
1899 | | - "./": ["dependency:com.oracle.truffle.llvm.libraries.bitcode.libcxx/*"], |
| 1874 | + "./": [{ |
| 1875 | + "source_type": "dependency", |
| 1876 | + "dependency": "com.oracle.truffle.llvm.libraries.bitcode.libcxx", |
| 1877 | + "path": "*", |
| 1878 | + "exclude": "native/lib/*.a", |
| 1879 | + }], |
1900 | 1880 | "./native/lib/<lib:graalvm-llvm>": "link:<libv:graalvm-llvm.1>", |
1901 | 1881 | # for source compatibility |
1902 | 1882 | "./native/lib/<lib:polyglot-mock>": "link:<lib:graalvm-llvm>", |
|
2256 | 2236 | "testDistribution" : True, |
2257 | 2237 | "defaultBuild" : False, |
2258 | 2238 | }, |
2259 | | - "SULONG_GCC_FORTRAN_TEST_SUITE" : { |
2260 | | - "native" : True, |
2261 | | - "relpath" : True, |
2262 | | - "platformDependent" : True, |
2263 | | - "layout" : { |
2264 | | - "./" : ["dependency:gcc_fortran/*"], |
2265 | | - }, |
2266 | | - "testDistribution" : True, |
2267 | | - "defaultBuild" : False, |
2268 | | - }, |
2269 | 2239 | "SULONG_PARSER_TORTURE" : { |
2270 | 2240 | "native" : True, |
2271 | 2241 | "relpath" : True, |
|
0 commit comments