Convert to bzlmod
This commit is contained in:
		
							parent
							
								
									95852888e1
								
							
						
					
					
						commit
						6b5b92d7ef
					
				| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
# Enable Bzlmod for every Bazel command
 | 
			
		||||
common --enable_bzlmod
 | 
			
		||||
							
								
								
									
										21
									
								
								WORKSPACE
								
								
								
								
							
							
						
						
									
										21
									
								
								WORKSPACE
								
								
								
								
							| 
						 | 
				
			
			@ -1,21 +0,0 @@
 | 
			
		|||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 | 
			
		||||
 | 
			
		||||
http_archive(
 | 
			
		||||
    name = "aspect_gcc_toolchain",
 | 
			
		||||
    sha256 = "3341394b1376fb96a87ac3ca01c582f7f18e7dc5e16e8cf40880a31dd7ac0e1e",
 | 
			
		||||
    strip_prefix = "gcc-toolchain-0.4.2",
 | 
			
		||||
    urls = [
 | 
			
		||||
        "https://github.com/aspect-build/gcc-toolchain/archive/refs/tags/0.4.2.tar.gz",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
load("@aspect_gcc_toolchain//toolchain:repositories.bzl", "gcc_toolchain_dependencies")
 | 
			
		||||
 | 
			
		||||
gcc_toolchain_dependencies()
 | 
			
		||||
 | 
			
		||||
load("@aspect_gcc_toolchain//toolchain:defs.bzl", "gcc_register_toolchain", "ARCHS")
 | 
			
		||||
 | 
			
		||||
gcc_register_toolchain(
 | 
			
		||||
    name = "gcc_toolchain_x86_64",
 | 
			
		||||
    target_arch = ARCHS.x86_64,
 | 
			
		||||
)
 | 
			
		||||
		Loading…
	
		Reference in New Issue