Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for libName (0.14 sec)

  1. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/NativeProjectWithDepsGeneratorTask.groovy

                        def libName = "${dependentProject}2"
                        deps << new Dependency(":" + dependentProject, libName, 'static')
                        includes << "${libName}/header.h"
                    }
                } else {
                    // odd components depend on the component with index 2
                    def libName = "${generatedProjectName}2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                    headers.srcDir "libs/src/hello/headers"
                    binaries.withType(StaticLibraryBinary) {
                        def libName = targetPlatform.operatingSystem.windows ? 'hello.lib' : 'libhello.a'
                        staticLibraryFile = file("libs/build/libs/hello/static/english/\${libName}")
                    }
                    binaries.withType(SharedLibraryBinary) {
                        def os = targetPlatform.operatingSystem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            failure.assertHasCause("A build operation failed.")
            def libName = sharedLibrary("build/binaries/mainSharedLibrary/main").file.name
            failure.assertThatCause(containsText("Linker failed while linking ${libName}"))
        }
    
        @ToBeFixedForConfigurationCache
        def "build fails when create static library fails"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/cshared_test.go

    	cmd := "testp2"
    	bin := cmdToRun(cmd)
    	libname := "libgo2.a"
    
    	run(t,
    		nil,
    		"go", "build",
    		"-buildmode=c-shared",
    		"-installsuffix", "testcshared",
    		"-o", libname, "./libgo2",
    	)
    
    	linkFlags := "-Wl,--no-as-needed"
    	if GOOS == "darwin" || GOOS == "ios" {
    		linkFlags = ""
    	}
    
    	runCC(t, "-o", cmd, "main2.c", linkFlags, libname)
    
    	defer os.Remove(libname)
    	defer os.Remove(bin)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/build.go

    //	a/... b/... ---> liba/c,b/d.so - all matching import paths
    //
    // Name parts are joined with ','.
    func libname(args []string, pkgs []*load.Package) (string, error) {
    	var libname string
    	appendName := func(arg string) {
    		if libname == "" {
    			libname = arg
    		} else {
    			libname += "," + arg
    		}
    	}
    	var haveNonMeta bool
    	for _, arg := range args {
    		if search.IsMetaPackage(arg) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy

        }
    
        def "maps shared library binary types to visual studio projects"() {
            when:
            targetBinary = new NativeSpecVisualStudioTargetBinary(sharedLibBinary)
            lib.getName() >> "libName"
            sharedLibBinary.getProjectPath() >> ":"
            binaryNamingScheme.getVariantDimensions() >> ["buildTypeOne"]
    
            then:
            checkNames targetBinary, "libNameDll", 'buildTypeOne'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/symtab.go

    		modulehashes.SetType(sym.SRODATA)
    
    		for i, shlib := range ctxt.Shlibs {
    			// modulehashes[i].modulename
    			modulename := filepath.Base(shlib.Path)
    			addgostring(ctxt, ldr, modulehashes, fmt.Sprintf("go:link.libname.%d", i), modulename)
    
    			// modulehashes[i].linktimehash
    			addgostring(ctxt, ldr, modulehashes, fmt.Sprintf("go:link.linkhash.%d", i), string(shlib.Hash))
    
    			// modulehashes[i].runtimehash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/action.go

    func (b *Builder) buildmodeShared(mode, depMode BuildMode, args []string, pkgs []*load.Package, a1 *Action) *Action {
    	name, err := libname(args, pkgs)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    	return b.linkSharedAction(mode, depMode, name, a1)
    }
    
    // linkSharedAction takes a grouping action a1 corresponding to a list of built packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		cc = append(cc, "-framework", "CoreFoundation")
    	}
    	libbase := GOOS + "_" + GOARCH
    	if runtime.Compiler == "gccgo" {
    		libbase = "gccgo_" + libgodir + "_fPIC"
    	} else {
    		switch GOOS {
    		case "darwin", "ios":
    			if GOARCH == "arm64" {
    				libbase += "_shared"
    			}
    		case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris", "illumos":
    			libbase += "_shared"
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  10. src/text/scanner/scanner.go

    		}
    	}
    
    	// fractional part
    	if seenDot {
    		tok = Float
    		if prefix == 'o' || prefix == 'b' {
    			s.error("invalid radix point in " + litname(prefix))
    		}
    		ch, ds = s.digits(ch, base, &invalid)
    		digsep |= ds
    	}
    
    	if digsep&1 == 0 {
    		s.error(litname(prefix) + " has no digits")
    	}
    
    	// exponent
    	if e := lower(ch); (e == 'e' || e == 'p') && s.Mode&ScanFloats != 0 {
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top