Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tls: make tls a little bit faster
Browse files Browse the repository at this point in the history
Compile OpenSSL with inline assembly for big numbers
  • Loading branch information
indutny committed Jul 5, 2012
1 parent 3ea0397 commit d923269
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions deps/openssl/openssl.gyp
Expand Up @@ -179,7 +179,6 @@
'openssl/crypto/bio/bss_null.c',
'openssl/crypto/bio/bss_sock.c',
'openssl/crypto/bn/bn_add.c',
'openssl/crypto/bn/bn_asm.c',
'openssl/crypto/bn/bn_blind.c',
'openssl/crypto/bn/bn_const.c',
'openssl/crypto/bn/bn_ctx.c',
Expand Down Expand Up @@ -650,9 +649,15 @@
}],
['target_arch=="ia32"', {
'variables': {'openssl_config_path': 'config/piii'},
'sources': [
'openssl/crypto/bn/bn_asm.c',
]
}, {
'variables': {'openssl_config_path': 'config/k8'},
}],
'sources': [
'openssl/crypto/bn/asm/x86_64-gcc.c',
]
}]
],
'include_dirs': [
'.',
Expand Down

3 comments on commit d923269

@austinlcherry
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change breaks compiling for armv5t

@bnoordhuis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@austinlcherry Can you open an issue for that? Please include the full output of configure and make (add V=1 to turn on verbose mode).

@austinlcherry
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in the middle of compiling v0.8.2 on a very slow device right now. I'll try to revert to master and run in verbose mode tomorrow.

Please sign in to comment.