25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
619B

  1. # E04-S03: build the scalar emitter/arithmetic fixture.
  2. [CmdletBinding()]
  3. param()
  4. $ErrorActionPreference = "Stop"
  5. $project = Split-Path $PSScriptRoot -Parent
  6. Import-Module (Join-Path $PSScriptRoot "lib\Nova128Test.psm1") -Force
  7. $out = Join-Path $project "build\scalar-test"
  8. $link = Invoke-Nova128Link -Name "scalar-test" -BuildDir $out `
  9. -Config (Join-Path $project "cfg\compiler.cfg") -Sources @(
  10. (Join-Path $project "src\compiler\codegen.s"),
  11. (Join-Path $project "src\runtime\arithmetic.s"),
  12. (Join-Path $project "tests\codegen\scalar-test.s"))
  13. Write-Host ("built {0}" -f $link.Program)

Powered by TurnKey Linux.