Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5b7e3718ee3d
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 74d245232838
Choose a head ref
  • 3 commits
  • 3 files changed
  • 3 contributors

Commits on Jun 29, 2019

  1. llvm_7,8: disable libpfm on aarch64

    See NixOS/nixpkgs#56245
    
    Testing: 0 ..
    FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
    ******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
    Note: Google Test filter = PerfHelperTest.FunctionalTest
    [==========] Running 1 test from 1 test case.
    [----------] Global test environment set-up.
    [----------] 1 test from PerfHelperTest
    [ RUN      ] PerfHelperTest.FunctionalTest
    /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
          Expected: CallbackEventName
                Which is: ""
                To be equal to: "CYCLES:u"
                /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
                Value of: CallbackEventNameFullyQualifed
                Expected: isn't empty
                  Actual: ""
                  [  FAILED  ] PerfHelperTest.FunctionalTest (3 ms)
                  [----------] 1 test from PerfHelperTest (3 ms total)
    
    [----------] Global test environment tear-down
    [==========] 1 test from 1 test case ran. (3 ms total)
    [  PASSED  ] 0 tests.
    [  FAILED  ] 1 test, listed below:
    [  FAILED  ] PerfHelperTest.FunctionalTest
    
     1 FAILED TEST
     invalid event attribute - cannot create event CYCLES:u
    
    ********************
    Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
    
    1 warning(s) in tests.
    Testing Time: 108.19s
    ********************
    Failing Tests (1):
        LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
    
      Expected Passes    : 25609
        Expected Failures  : 141
          Unsupported Tests  : 1249
            Unexpected Failures: 1
            make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
            make[3]: Leaving directory '/build/llvm/build'
            make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
            make[2]: Leaving directory '/build/llvm/build'
            make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
            make[1]: Leaving directory '/build/llvm/build'
            make: *** [Makefile:251: check-all] Error 2
            builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2Testing: 0 ..
            FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
            ******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
            Note: Google Test filter = PerfHelperTest.FunctionalTest
            [==========] Running 1 test from 1 test case.
            [----------] Global test environment set-up.
            [----------] 1 test from PerfHelperTest
            [ RUN      ] PerfHelperTest.FunctionalTest
            /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
                  Expected: CallbackEventName
                        Which is: ""
                        To be equal to: "CYCLES:u"
                        /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
                        Value of: CallbackEventNameFullyQualifed
                        Expected: isn't empty
                          Actual: ""
                          [  FAILED  ] PerfHelperTest.FunctionalTest (3 ms)
                          [----------] 1 test from PerfHelperTest (3 ms total)
    
    [----------] Global test environment tear-down
    [==========] 1 test from 1 test case ran. (3 ms total)
    [  PASSED  ] 0 tests.
    [  FAILED  ] 1 test, listed below:
    [  FAILED  ] PerfHelperTest.FunctionalTest
    
     1 FAILED TEST
     invalid event attribute - cannot create event CYCLES:u
    
    ********************
    Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
    
    1 warning(s) in tests.
    Testing Time: 108.19s
    ********************
    Failing Tests (1):
        LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
    
      Expected Passes    : 25609
        Expected Failures  : 141
          Unsupported Tests  : 1249
            Unexpected Failures: 1
            make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
            make[3]: Leaving directory '/build/llvm/build'
            make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
            make[2]: Leaving directory '/build/llvm/build'
            make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
            make[1]: Leaving directory '/build/llvm/build'
            make: *** [Makefile:251: check-all] Error 2
            builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2
    grahamc committed Jun 29, 2019
    Copy the full SHA
    7d62e4b View commit details

Commits on Jun 30, 2019

  1. buildGoModule: add ./ to all sub-packages (#63936)

    When $subPackages has more than one item, the build was failing because
    ./ was added only to the first subPackage. This commit adds ./ to all
    specified subPackages.
    kalbasit authored Jun 30, 2019
    Copy the full SHA
    1474220 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    mweinelt Martin Weinelt
    Copy the full SHA
    74d2452 View commit details
Showing with 8 additions and 3 deletions.
  1. +3 −1 pkgs/development/compilers/llvm/7/llvm.nix
  2. +3 −1 pkgs/development/compilers/llvm/8/llvm.nix
  3. +2 −1 pkgs/development/go-modules/generic/default.nix
4 changes: 3 additions & 1 deletion pkgs/development/compilers/llvm/7/llvm.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,9 @@
, debugVersion ? false
, enableManpages ? false
, enableSharedLibraries ? true
, enablePFM ? !stdenv.isDarwin
, enablePFM ? !(stdenv.isDarwin
|| stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
)
, enablePolly ? false
}:

4 changes: 3 additions & 1 deletion pkgs/development/compilers/llvm/8/llvm.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@
, debugVersion ? false
, enableManpages ? false
, enableSharedLibraries ? true
, enablePFM ? !stdenv.isDarwin
, enablePFM ? !(stdenv.isDarwin
|| stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
)
, enablePolly ? false
}:

3 changes: 2 additions & 1 deletion pkgs/development/go-modules/generic/default.nix
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ let
local type;
type="$1"
if [ -n "$subPackages" ]; then
echo "./$subPackages"
echo "$subPackages" | sed "s,\(^\| \),\1./,g"
else
find . -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort --unique
fi
@@ -144,6 +144,7 @@ let
export NIX_BUILD_CORES=1
fi
for pkg in $(getGoDirs ""); do
echo "Building subPackage $pkg"
buildGoDir install "$pkg"
done
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''