Support asm/cmm/js sources in executable components (#8639) (#9061)
* WIP support asm/cmm/js sources in executable components (#8639) * Factorise extra src code for lib/exe and add extra exe src tests * Add extra sources to linking step * lint * lint * Don't build js sources for executables on non-js hosts * Fix cabal.out for CmmSourcesExe test and lint * Update changelog * Slight changes
Showing
- Cabal/src/Distribution/Simple/GHC.hs 133 additions, 272 deletionsCabal/src/Distribution/Simple/GHC.hs
- cabal-testsuite/PackageTests/CmmSourcesExe/cabal.out 8 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/cabal.out
- cabal-testsuite/PackageTests/CmmSourcesExe/cabal.project 1 addition, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/cabal.project
- cabal-testsuite/PackageTests/CmmSourcesExe/cabal.test.hs 6 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/cabal.test.hs
- cabal-testsuite/PackageTests/CmmSourcesExe/cbits/HeapPrim.cmm 6 additions, 0 deletions...l-testsuite/PackageTests/CmmSourcesExe/cbits/HeapPrim.cmm
- cabal-testsuite/PackageTests/CmmSourcesExe/cmmexperiment.cabal 23 additions, 0 deletions...-testsuite/PackageTests/CmmSourcesExe/cmmexperiment.cabal
- cabal-testsuite/PackageTests/CmmSourcesExe/demo/Main.hs 2 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/demo/Main.hs
- cabal-testsuite/PackageTests/CmmSourcesExe/setup.out 5 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/setup.out
- cabal-testsuite/PackageTests/CmmSourcesExe/setup.test.hs 7 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/setup.test.hs
- cabal-testsuite/PackageTests/CmmSourcesExe/src/Demo.hs 37 additions, 0 deletionscabal-testsuite/PackageTests/CmmSourcesExe/src/Demo.hs
- cabal-testsuite/PackageTests/JS/JsSourcesExe/cabal.project 1 addition, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/cabal.project
- cabal-testsuite/PackageTests/JS/JsSourcesExe/demo/Main.hs 6 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/demo/Main.hs
- cabal-testsuite/PackageTests/JS/JsSourcesExe/js-arch.test.hs 9 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/js-arch.test.hs
- cabal-testsuite/PackageTests/JS/JsSourcesExe/jsbits/lib.js 3 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/jsbits/lib.js
- cabal-testsuite/PackageTests/JS/JsSourcesExe/jssources-exe.cabal 20 additions, 0 deletions...estsuite/PackageTests/JS/JsSourcesExe/jssources-exe.cabal
- cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out 12 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out
- cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.test.hs 7 additions, 0 deletions...testsuite/PackageTests/JS/JsSourcesExe/other-arch.test.hs
- cabal-testsuite/PackageTests/JS/JsSourcesExe/src/Lib.hs 4 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/src/Lib.hs
- cabal-testsuite/PackageTests/JS/JsSourcesExe/srcJS/Lib.hs 3 additions, 0 deletionscabal-testsuite/PackageTests/JS/JsSourcesExe/srcJS/Lib.hs
- changelog.d/issue-8639 12 additions, 0 deletionschangelog.d/issue-8639
Loading