Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for canUseReadelf (0.14 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

        ReadelfBinaryInfo(File binaryFile, List<String> environments) {
            this.environments = environments
            this.binaryFile = binaryFile
        }
    
        static boolean canUseReadelf() {
            def process = ['readelf', '-v'].execute()
            return process.waitFor() && process.exitValue() == 0
        }
    
        ArchitectureInternal getArch() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

            }
            if (os.windows) {
                return DumpbinBinaryInfo.findVisualStudio() ? new DumpbinBinaryInfo(file) : new FileArchOnlyBinaryInfo(file)
            }
            if (ReadelfBinaryInfo.canUseReadelf()) {
                return new ReadelfBinaryInfo(file, toolchainUnderTest.runtimeEnv)
            } else {
                return new FileArchOnlyBinaryInfo(file)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top