This repository was archived by the owner on Feb 25, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,11 @@ if (flutter_prebuilt_dart_sdk) {
4646
4747#  Flutter SDK artifacts should only be built when either doing host builds, or
4848#  for cross-compiled desktop targets.
49+ #  TODO: We can't build the engine artifacts for arm (32-bit) right now;
50+ #  see https://github.com/flutter/flutter/issues/74322
4951_build_engine_artifacts  = 
50-     current_toolchain  ==  host_toolchain  ||  (is_linux  &&  ! is_chromeos ) ||  is_mac
52+     current_toolchain  ==  host_toolchain  || 
53+     (is_linux  &&  ! is_chromeos  &&  current_cpu  !=  " arm" ||  is_mac
5154
5255group (" dart_sdk" 
5356  if  (_build_engine_artifacts ) {
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def is_host_build(args):
8888    # target_os='linux' and linux-cpu='arm64' 
8989    # TODO(fujino): make host platform explicit 
9090    #   https://github.com/flutter/flutter/issues/79403 
91-     return  args .target_os  is  None  or  args .target_os  ==  'linux' 
91+     return  args .target_os  is  None  or  ( args .target_os  ==  'linux'   and   args . linux_cpu   ==   'arm64' ) 
9292
9393# Determines whether a prebuilt Dart SDK can be used instead of building one. 
9494# We can use a prebuilt Dart SDK when: 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments