[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41221: Use Go build tags to reduce PT binary sizes



Title: GitLab

morgan pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 9f4afa27
    by Cecylia Bocovich at 2024-08-21T12:04:24-04:00
    Bug 41221: Use Go build tags to reduce PT binary sizes
    

2 changed files:

Changes:

  • projects/conjure/build
    ... ... @@ -18,7 +18,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %]
    18 18
     tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
    
    19 19
     
    
    20 20
     cd client
    
    21
    -go build -ldflags '-s'
    
    21
    +go build -ldflags '-s' -tags 'protoreflect,nacl'
    
    22 22
     cp -a client[% IF c("var/windows") %].exe[% END %] $distdir/conjure-client[% IF c("var/windows") %].exe[% END %]
    
    23 23
     
    
    24 24
     cd ..
    

  • projects/snowflake/build
    ... ... @@ -18,7 +18,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %]
    18 18
     tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
    
    19 19
     
    
    20 20
     cd client
    
    21
    -go build -ldflags '-s'
    
    21
    +go build -ldflags '-s' -tags 'nopshufb,noasm,packetioSizeHardlimit,purego,safe,appengine,disableunsafe'
    
    22 22
     cp -a client[% IF c("var/windows") %].exe[% END %] $distdir/snowflake-client[% IF c("var/windows") %].exe[% END %]
    
    23 23
     
    
    24 24
     cd ..
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits