This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: python ; coding: utf-8 -*- | |
block_cipher = None | |
from PyInstaller.utils.hooks import collect_all | |
datas, binaries, hiddenimports = [], [], [] | |
for pkgname in ['glean', 'glean_parser']: | |
pkg_datas, pkg_binaries, pkg_hiddenimports = collect_all(pkgname) | |
datas.extend(pkg_datas) | |
binaries.extend(pkg_binaries) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(mozregression) wlach@antwerp mozregression % dist/main/main | |
/Users/wlach/src/mozregression/dist/main/mozregression/pings.yaml | |
Traceback (most recent call last): | |
File "mozregression/main.py", line 35, in <module> | |
from mozregression.telemetry import send_telemetry_ping_oop | |
File "<frozen importlib._bootstrap>", line 983, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked | |
File "/Users/wlach/src/mozregression/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module | |
exec(bytecode, module.__dict__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0 | |
used.default: | |
os: | |
type: string | |
description: > | |
The name of the os | |
notification_emails: [[email protected]] | |
bugs: [http://bugzilla.org/1234] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from glean import Glean, Configuration | |
from glean import (load_metrics, | |
load_pings) | |
config = Configuration() | |
config.ping_tag = "mozregression-test-tag" | |
config.log_pings = True | |
Glean.initialize( | |
application_id="mozregression", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
2 | |
3 | |
*** Reading local file: /app/logs/missioncontrol/missioncontrol_etl/2020-01-15T22:40:35/3.log | |
[2020-01-15 23:14:06,576] {models.py:1359} INFO - Dependencies all met for <TaskInstance: missioncontrol.missioncontrol_etl 2020-01-15T22:40:35.339783+00:00 [queued]> | |
[2020-01-15 23:14:06,579] {models.py:1359} INFO - Dependencies all met for <TaskInstance: missioncontrol.missioncontrol_etl 2020-01-15T22:40:35.339783+00:00 [queued]> | |
[2020-01-15 23:14:06,580] {models.py:1571} INFO - | |
-------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on http://hpc.sourceforge.net/buildf2c with curl replaced by wget | |
############################################################ | |
# This UNIX script builds the f2c FORTRAN --> C translator # | |
# under Mac OS X. # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
############################################################ | |
# This UNIX script builds the f2c FORTRAN --> C translator # | |
# under Mac OS X. # | |
# Make this script executable with "chmod +x buildf2c" # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(module | |
(type (;0;) (func (param i32 i32 i32) (result i32))) | |
(type (;1;) (func (param i32) (result i32))) | |
(type (;2;) (func (param i32))) | |
(type (;3;) (func (param i32 i32) (result i32))) | |
(type (;4;) (func (result i32))) | |
(type (;5;) (func (param i32 i32))) | |
(type (;6;) (func)) | |
(type (;7;) (func (param i32 i32 i32 i32) (result i32))) | |
(import "env" "abortStackOverflow" (func (;0;) (type 2))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f2c: source not found, skipping: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -print-libgcc-file-name | |
Traceback (most recent call last): | |
File "/Users/wlach/src/pyodide-native-mac/cpython/build/3.7.0/host/lib/python3.7/runpy.py", line 193, in _run_module_as_main | |
"__main__", mod_spec) | |
File "/Users/wlach/src/pyodide-native-mac/cpython/build/3.7.0/host/lib/python3.7/runpy.py", line 85, in _run_code | |
exec(code, run_globals) | |
File "/Users/wlach/src/pyodide-native-mac/pyodide_build/__main__.py", line 32, in <module> | |
main() | |
File "/Users/wlach/src/pyodide-native-mac/pyodide_build/__main__.py", line 26, in main | |
args.func(args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cpython/Makefile b/cpython/Makefile | |
index 357d152..72ae284 100644 | |
--- a/cpython/Makefile | |
+++ b/cpython/Makefile | |
@@ -6,6 +6,8 @@ ROOT=$(abspath .) | |
HOSTINSTALL=$(ROOT)/build/$(PYVERSION)/host | |
HOSTBUILD=$(HOSTINSTALL)/Python-$(PYVERSION) | |
HOSTPYTHON=$(HOSTINSTALL)/bin/python3$(EXE) | |
+HOSTPYTHON_CPPFLAGS="-I/usr/local/opt/openssl/include" | |
+HOSTPYTHON_LDFLAGS="-L/usr/local/opt/openssl/lib" |