Skip to content

Instantly share code, notes, and snippets.

Updating makefiles....
Considering target file 'Makefile'.
Looking for an implicit rule for 'Makefile'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.o'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.c'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.cc'.
Trying pattern rule with stem 'Makefile'.
@solvingj
solvingj / embeddable-python-layout-and-log.txt
Last active May 2, 2019 18:49
embeddable-python-layout-and-log
user@user-laptop:~/tmp$ ls -l
total 32300
-rwxrwxrwx 1 user user 58312 May 2 14:21 _asyncio.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 12648 May 2 14:21 _bisect.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 46528 May 2 14:21 _blake2.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 149880 May 2 14:21 _codecs_cn.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 158104 May 2 14:21 _codecs_hk.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 27000 May 2 14:21 _codecs_iso2022.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 264568 May 2 14:21 _codecs_jp.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 137592 May 2 14:21 _codecs_kr.cpython-36-x86_64-linux-gnu.so
@solvingj
solvingj / README.md
Last active February 23, 2019 19:34
Future Readme of DAG-Build (WIP) Jenkins plugin

Preface
DAG stands for Directed Acyclic Graph . This term is commonly used in software development when discussing dependency trees. In the context of Jenkins, "DAG Build" provides the necessary logic to calculate a DAG out of the existing Jenkins Dependency Graph defined in Jenkins projects for each build.

DAG Build Feature Summary
The DAG Build plugin builds adds automatic enforcement of a correct, coherent, ordered, and linear execution of a dependency graph, with support for complex fork and join scenarios. Notably, it works with both "Upstream" and "Downstream" build triggers. Historically, other strategies and mechanisms have enforced this type of deliberate, coordinated build logic within Jenkins, however they all have dramatically different designs, and thus have different characteristics.

Motivation
This plugin is particularly relevant for Jenkins deployments with complex build dependency graphs featuring "diamond dependency" scenarios. Abstractly, a diamond dependency is one

@solvingj
solvingj / Jenkinsfile
Last active November 16, 2020 02:35
Jenkinsfile stash unstash
pipeline{
stages {
stage('Checkout') {
steps {
checkout([
$class: '<repo_scm_type>',
locations: [[
credentialsId: '<repo_credentials>',
local: '.',
remote: '<repo_url>']],
@solvingj
solvingj / 1. withNamePrinter.groovy
Last active February 8, 2019 21:25
JenkinsGroovyClosuresPrettyCoolStuff
def call(String name, Closure body) {
echo "Hello, ${name} first."
body(test)
}
AT_REVISION = ""
pipeline {
agent {
label 'agent2'
}
stages {
stage('build_image_locally') {
steps {
script {
AT_REVISION="1234"
@solvingj
solvingj / jenkinsfile_log_error_and_stacktrace
Last active November 8, 2018 16:44
jenkinsfile_log_error_and_stacktrace
pipeline {
agent { label 'agent4'}
stages {
stage('hello_world'){
agent {
docker {
image 'myartifactory.com/docker/linux-build-current'
args '-m 2gb'
}
}
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import ConanFile, tools
import os
class BoostBaseConan(ConanFile):
name = "boost_base"
version = "1.67.0"
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import python_requires, tools
import os
base = python_requires("boost_base/1.67.0@bincrafters/testing")
class BoostContextConan(base.BoostBaseConan):
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import ConanFile, tools
from conans import python_requires
base = python_requires("boost_base/1.67.0@bincrafters/testing")
class BoostContextConan(base.BoostBaseConan):