Skip to content

Instantly share code, notes, and snippets.

View winksaville's full-sized avatar

Wink Saville winksaville

  • Soquel, CA. USA
View GitHub Profile
wink@wink-desktop:~/foss/zig-wink/build
$ rm -rf *
wink@wink-desktop:~/foss/zig-wink/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $(cc -print-file-name=crt1.o)) -DZIG_LIBC_INCLUDE_DIR=$(echo -n | cc -E -x c - -v 2>&1 | grep -B1 "End of search list." | head -n1 | cut -c 2-) -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o))
-- The CXX compiler identification is GNU 6.1.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
wink@wink-desktop:~/foss/zig (master)
$ rm -rf build
wink@wink-desktop:~/foss/zig (master)
$ mkdir build
wink@wink-desktop:~/foss/zig (master)
$ cd build
wink@wink-desktop:~/foss/zig/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $(cc -print-file-name=crt1.o)) -DZIG_LIBC_INCLUDE_DIR=$(echo -n | cc -E -x c - -v 2>&1 | grep -B1 "End of search list." | head -n1 | cut -c 2-) -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o))
-- The CXX compiler identification is GNU 6.1.1
-- Check for working CXX compiler: /usr/bin/c++
@winksaville
winksaville / gist:cd78ac5fb2caf729dd502586a12c4b22
Last active September 6, 2016 13:34
zig won't compile with gcc 6.1.1 at commit e8e2d84689ec2eb19d0b725743a87f1892137665
wink@wink-desktop:~/foss/zig/build-master (master)
$ git log -1
commit e8e2d84689ec2eb19d0b725743a87f1892137665
Merge: a31eb97 4979e60
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Mon Sep 5 16:19:20 2016 -0400
Merge branch 'llvm-3.9'
wink@wink-desktop:~/foss/zig/build-master (master)
$ rm -rf *
@winksaville
winksaville / gist:a9a0851f40bb40800a82a41027792d91
Created September 8, 2016 22:16
run_target with keyword paramaters
sudo_runner_file = '@0@/tools/sudo.runner.sh'.format(meson.source_root())
sudo_runner = find_program(sudo_runner_file)
run_target('run-test-posix-ac_inet_link_regular',
command : [sudo_runner, test_posix_ac_inet_link_regular],
depends : test_posix_ac_inet_link_regular)
@winksaville
winksaville / configuration.nix
Created September 12, 2016 17:44
NixOS configuration
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
let
if0 = "enp0s15";
if0_ipv4 = "149.56.41.68";
if0_ipv4_prefixLength = 32;
@winksaville
winksaville / js
Created March 21, 2017 16:02
client.nyc.js
"use strict";
var cov_2b132h5ihl = function() {
var path = "dist/client/client.js",
hash = "dd64b65bd32ed754e47b7760300298d1e98129b0",
global = new Function('return this')(),
gcv = "__coverage__",
coverageData = {
path: "dist/client/client.js",
statementMap: {
"0": {
@winksaville
winksaville / output.txt
Created May 4, 2017 19:11
Output from sh -c 'node --version; npm --version; npm ls' > output.txt
v7.10.0
4.5.0
alsatian@1.3.0 /home/wink/foss/alsatian
├─┬ @types/glob@5.0.30
│ ├── @types/minimatch@2.0.29
│ └── @types/node@7.0.16 deduped
├─┬ @types/gulp@4.0.2
│ ├── @types/node@7.0.16 deduped
│ ├─┬ @types/orchestrator@0.0.31
│ │ └── @types/q@0.0.34
@winksaville
winksaville / gist:1e0ef24ad21fe534d452d5a0684635c7
Created May 19, 2017 16:23
Errors from Alsatian when using tsconfig.base.full
yarn build v0.23.4
$ tsc
core/running/test-runner.ts(86,38): error TS2454: Variable 'currentTestFixtureResults' is used before being assigned.
core/running/test-runner.ts(93,26): error TS2454: Variable 'currentTestResults' is used before being assigned.
core/running/test-runner.ts(97,26): error TS2454: Variable 'currentTestResults' is used before being assigned.
test/builders/test-builder.ts(10,5): error TS2322: Type '{ description: string; focussed: false; ignoreReason: undefined; ignored: false; isAsync: false; ...' is not assignable to type 'ITest'.
Types of property 'timeout' are incompatible.
Type 'null' is not assignable to type 'number'.
test/unit-tests/cli/alsatian-cli-options/help-requested-option.spec.ts(27,16): error TS6133: 'options' is declared but never used.
test/unit-tests/cli/alsatian-cli-options/tap-option.spec.ts(27,15): error TS6133: 'options' is declared but never used.
(python2venv) wink@wink-desktop:~/dev/codeaster
$ TFELHOME="/home/wink/aur/tfel/src/tfel-2.0.3" INCLUDES="/opt/petsc/linux-c-opt/include /usr/include" LIBPATH="/opt/petsc/linux-c-opt/lib /usr/lib/openmpi /usr/lib" LIB="mumps_common esmumps scotch scotcherr scotcherrexit scotchmetis mpi mpi_mpifh metis pord gfortran scalapack" ./devtools/bin/install_env --internetINFO checking repository /home/wink/dev/codeaster/src
INFO settings added into /home/wink/dev/codeaster/src/.hg/hgrc
INFO checking repository /home/wink/dev/codeaster/data
INFO checking repository /home/wink/dev/codeaster/validation
Do you want to automatically configure and build Code_Aster (y/n) ? y
INFO configure and build Code_Aster by running:
. $HOME/dev/codeaster/devtools/etc/env_unstable.sh
cd /home/wink/dev/codeaster/src
./waf configure
@winksaville
winksaville / diff-pkgver-7019.patch
Last active August 12, 2017 18:22
aur/aster-hg diff for 7019
diff --git a/.SRCINFO b/.SRCINFO
index c0b8366..04a74f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = aster-hg
arch = x86_64
license = GPL
depends = med
- depends = metis4
+ depends = metis