Merge pull request #111487 from Ericson2314/llvm-outputs-and-cross-compile-tools

llvmPackages: Clean up outputs
This commit is contained in:
John Ericson
2021-04-30 11:28:08 -04:00
committed by GitHub
210 changed files with 10414 additions and 660 deletions
+2 -2
View File
@@ -32,12 +32,12 @@ stdenv.mkDerivation {
substituteInPlace ./SConstruct \
--replace \
"env['CPPPATH'] = []" \
"env['CPPPATH'] = ['${libcxx}/include/c++/v1']"
"env['CPPPATH'] = ['${lib.getDev libcxx}/include/c++/v1']"
substituteInPlace ./SConstruct \
--replace \
"env['LIBPATH'] = []" \
"env['LIBPATH'] = ['${libcxx}/lib']"
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
'';
buildPhase = ''
+1 -1
View File
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ cmake pkg-config ]
++ lib.optionals stdenv.isLinux [ python3 ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
meta = with lib; {
description = "Create beautiful image of your source code";
+1 -1
View File
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/tremor completions zsh)
'';
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
# OPENSSL_NO_VENDOR - If set, always find OpenSSL in the system, even if the vendored feature is enabled.
OPENSSL_NO_VENDOR = 1;