do not execute go while regenerating boringssl files because we don't need it
This commit is contained in:
parent
9edc8b0121
commit
0e51b18e8e
|
@ -73,7 +73,6 @@ RUN_DEPENDS= devel/xdg-utils \
|
|||
BUILD_DEPENDS= archivers/bzip2 \
|
||||
devel/gperf \
|
||||
devel/bison \
|
||||
lang/go \
|
||||
lang/node \
|
||||
shells/bash \
|
||||
sysutils/flock \
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
Index: third_party/boringssl/src/util/generate_build_files.py
|
||||
--- third_party/boringssl/src/util/generate_build_files.py.orig
|
||||
+++ third_party/boringssl/src/util/generate_build_files.py
|
||||
@@ -863,10 +863,10 @@ def main(platforms):
|
||||
]
|
||||
|
||||
# Generate err_data.c
|
||||
- with open('err_data.c', 'w+') as err_data:
|
||||
- subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
- cwd=os.path.join('src', 'crypto', 'err'),
|
||||
- stdout=err_data)
|
||||
+# with open('err_data.c', 'w+') as err_data:
|
||||
+# subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
+# cwd=os.path.join('src', 'crypto', 'err'),
|
||||
+# stdout=err_data)
|
||||
crypto_c_files.append('err_data.c')
|
||||
crypto_c_files.sort()
|
||||
|
||||
@@ -879,11 +879,11 @@ def main(platforms):
|
||||
crypto_test_files = []
|
||||
if EMBED_TEST_DATA:
|
||||
# Generate crypto_test_data.cc
|
||||
- with open('crypto_test_data.cc', 'w+') as out:
|
||||
- subprocess.check_call(
|
||||
- ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
- cwd='src',
|
||||
- stdout=out)
|
||||
+# with open('crypto_test_data.cc', 'w+') as out:
|
||||
+# subprocess.check_call(
|
||||
+# ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
+# cwd='src',
|
||||
+# stdout=out)
|
||||
crypto_test_files += ['crypto_test_data.cc']
|
||||
|
||||
crypto_test_files += FindCFiles(os.path.join('src', 'crypto'), OnlyTests)
|
|
@ -71,7 +71,6 @@ RUN_DEPENDS= devel/xdg-utils \
|
|||
BUILD_DEPENDS= archivers/bzip2 \
|
||||
devel/gperf \
|
||||
devel/bison \
|
||||
lang/go \
|
||||
lang/node \
|
||||
shells/bash \
|
||||
sysutils/flock \
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
Index: third_party/boringssl/src/util/generate_build_files.py
|
||||
--- third_party/boringssl/src/util/generate_build_files.py.orig
|
||||
+++ third_party/boringssl/src/util/generate_build_files.py
|
||||
@@ -863,10 +863,10 @@ def main(platforms):
|
||||
]
|
||||
|
||||
# Generate err_data.c
|
||||
- with open('err_data.c', 'w+') as err_data:
|
||||
- subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
- cwd=os.path.join('src', 'crypto', 'err'),
|
||||
- stdout=err_data)
|
||||
+# with open('err_data.c', 'w+') as err_data:
|
||||
+# subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
+# cwd=os.path.join('src', 'crypto', 'err'),
|
||||
+# stdout=err_data)
|
||||
crypto_c_files.append('err_data.c')
|
||||
crypto_c_files.sort()
|
||||
|
||||
@@ -879,11 +879,11 @@ def main(platforms):
|
||||
crypto_test_files = []
|
||||
if EMBED_TEST_DATA:
|
||||
# Generate crypto_test_data.cc
|
||||
- with open('crypto_test_data.cc', 'w+') as out:
|
||||
- subprocess.check_call(
|
||||
- ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
- cwd='src',
|
||||
- stdout=out)
|
||||
+# with open('crypto_test_data.cc', 'w+') as out:
|
||||
+# subprocess.check_call(
|
||||
+# ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
+# cwd='src',
|
||||
+# stdout=out)
|
||||
crypto_test_files += ['crypto_test_data.cc']
|
||||
|
||||
crypto_test_files += FindCFiles(os.path.join('src', 'crypto'), OnlyTests)
|
|
@ -77,7 +77,6 @@ BUILD_DEPENDS= archivers/bzip2 \
|
|||
devel/gpatch \
|
||||
devel/gperf \
|
||||
devel/bison \
|
||||
lang/go \
|
||||
lang/node \
|
||||
shells/bash \
|
||||
sysutils/flock \
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
Index: third_party/boringssl/src/util/generate_build_files.py
|
||||
--- third_party/boringssl/src/util/generate_build_files.py.orig
|
||||
+++ third_party/boringssl/src/util/generate_build_files.py
|
||||
@@ -863,10 +863,10 @@ def main(platforms):
|
||||
]
|
||||
|
||||
# Generate err_data.c
|
||||
- with open('err_data.c', 'w+') as err_data:
|
||||
- subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
- cwd=os.path.join('src', 'crypto', 'err'),
|
||||
- stdout=err_data)
|
||||
+# with open('err_data.c', 'w+') as err_data:
|
||||
+# subprocess.check_call(['go', 'run', 'err_data_generate.go'],
|
||||
+# cwd=os.path.join('src', 'crypto', 'err'),
|
||||
+# stdout=err_data)
|
||||
crypto_c_files.append('err_data.c')
|
||||
crypto_c_files.sort()
|
||||
|
||||
@@ -879,11 +879,11 @@ def main(platforms):
|
||||
crypto_test_files = []
|
||||
if EMBED_TEST_DATA:
|
||||
# Generate crypto_test_data.cc
|
||||
- with open('crypto_test_data.cc', 'w+') as out:
|
||||
- subprocess.check_call(
|
||||
- ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
- cwd='src',
|
||||
- stdout=out)
|
||||
+# with open('crypto_test_data.cc', 'w+') as out:
|
||||
+# subprocess.check_call(
|
||||
+# ['go', 'run', 'util/embed_test_data.go'] + cmake['CRYPTO_TEST_DATA'],
|
||||
+# cwd='src',
|
||||
+# stdout=out)
|
||||
crypto_test_files += ['crypto_test_data.cc']
|
||||
|
||||
crypto_test_files += FindCFiles(os.path.join('src', 'crypto'), OnlyTests)
|
Loading…
Reference in New Issue
Block a user