forked from snabbco/snabb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into testsuite-plusslow
- Loading branch information
Showing
4 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: c | ||
language: nix | ||
sudo: false | ||
script: | ||
- make | ||
- src/luajit -e 'for i = 1, 1000 do end' | ||
- nix-build | ||
- result/bin/raptorjit -e 'for i = 1, 1000 do end' | ||
- git submodule init submodules/raptorjit-testsuite | ||
- (cd submodules/raptorjit-testsuite/test; ../../../src/luajit test.lua +slow) | ||
- (cd submodules/raptorjit-testsuite/test; ../../../result/bin/raptorjit test.lua +slow) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ pkgs ? (import <nixpkgs> {}) | ||
, source ? ./. | ||
, version ? "dev" | ||
}: | ||
|
||
with pkgs; | ||
with clangStdenv; | ||
|
||
mkDerivation rec { | ||
name = "raptorjit-${version}"; | ||
inherit version; | ||
src = lib.cleanSource source; | ||
enableParallelBuilding = true; | ||
buildInputs = [ luajit ]; | ||
installPhase = '' | ||
mkdir -p $out/bin | ||
cp src/luajit $out/bin/raptorjit | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters