Skip to content
Snippets Groups Projects
Commit 566c9ed1 authored by Jim Larsson's avatar Jim Larsson
Browse files

First commit.

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #123947 passed
*.swp
.DS_Store
pkg
.vscode
---
include: 'https://gitlab.esss.lu.se/nice/conda-bot-testbed/gitlab-ci-yml/-/raw/master/E3CondaBuild.gitlab-ci.yml'
LICENSE 0 → 100644
BSD 3-Clause License
Copyright (c) 2022, European Spallation Source ERIC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# a-jim conda recipe
Home: "https://gitlab.esss.lu.se/nice/conda-bot-testbed/testbed-modules/a-jim"
Package license: EPICS Open License
Recipe license: BSD 3-Clause
Summary: EPICS a-jim module
#!/bin/bash
echo "fake build completed"
# LIBVERSION=${PKG_VERSION}
# # Clean between variants builds
# make -f Makefile.E3 clean
# make -f Makefile.E3 MODULE=${PKG_NAME} LIBVERSION=${LIBVERSION}
# make -f Makefile.E3 MODULE=${PKG_NAME} LIBVERSION=${LIBVERSION} db
# make -f Makefile.E3 MODULE=${PKG_NAME} LIBVERSION=${LIBVERSION} install
# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
# The final recipe shouldn't contain any comments!
{% set version = "1.0.0" %}
{% set name = "a-jim" %}
package:
name: "{{ name }}"
version: "{{ version }}"
source:
# - git_url: https://gitlab.esss.lu.se/nice/conda-bot-testbed/testbed-modules/a-jim.git
# git_rev: {{ version }}
# Extra source files (Makefile.E3, iocsh) should be copied under the ../src directory
- path: ../src
build:
# ppc64 cross-compilation is disabled by default
# Remove the following line if you want the module to run on IOxOS
# Note that you could also use [not ppc64] to only compile for ppc64
skip: True # [ppc64]
number: 0
run_exports:
- {{ pin_subpackage('a-jim', max_pin='x.x.x.x') }}
# requirements:
# build:
#
# - make
# - perl
# - tclx
# - {{ compiler('c') }}
# - {{ compiler('cxx') }}
#
# host:
# - epics-base 7
# - require
# test:
#
# requires:
# - run-iocsh
# commands:
# - run-iocsh -r {{ name }}
#
# about:
# home: "https://gitlab.esss.lu.se/nice/conda-bot-testbed/testbed-modules/a-jim"
# license: EPICS Open License
# # Many licenses require the license statement to be distributed with the package.
# # The filename is relative to the source directory
# license_file: LICENSE
# summary: "EPICS a-jim module"
#
# Copyright (c) 2019 - 2020 European Spallation Source ERIC
#
# The program is free software: you can redistribute
# it and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 2 of the
# License, or any newer version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see https://www.gnu.org/licenses/gpl-2.0.txt
#
#
# Author : simonrose
# email : simonrose@esss.se
# Date : 2020Feb28-1053-07CET
# version : 0.0.0
#
# template file is generated by e3TemplateGenerator.bash with 5b5ebd9
# Please look at many other _module_.Makefile in e3-* repository
#
## The following lines are mandatory, please don't change them.
where_am_I := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
include $(E3_REQUIRE_TOOLS)/driver.makefile
############################################################################
#
# Add any required modules here that come from startup scripts, etc.
#
############################################################################
# REQUIRED += stream
############################################################################
#
# If you want to exclude any architectures:
#
############################################################################
# EXCLUDE_ARCHS += linux-ppc64e6500
############################################################################
#
# Relevant directories to point to files
#
############################################################################
APP:=a-jimApp
#APPDB:=$(APP)/Db
APPSRC:=$(APP)/src
#APPCMDS:=$(APP)/cmds
############################################################################
#
# Add any files that should be copied to $(module)/Db
#
############################################################################
# TEMPLATES += $(wildcard $(APPDB)/*.db)
# TEMPLATES += $(wildcard $(APPDB)/*.proto)
# TEMPLATES += $(wildcard $(APPDB)/*.template)
# USR_INCLUDES += -I$(where_am_I)$(APPSRC)
############################################################################
#
# Add any files that need to be compiled (e.g. .c, .cpp, .st, .stt)
#
############################################################################
SOURCES += $(APPSRC)/a-jimMain.cpp
############################################################################
#
# Add any header files that should be included in the install (e.g.
# StreamDevice or asyn header files that are used by other modules)
#
############################################################################
#HEADERS +=
############################################################################
#
# Add any startup scripts that should be installed in the base directory
#
############################################################################
SCRIPTS += $(wildcard iocsh/*.iocsh)
############################################################################
#
# If you have any .substitution files, then you should probably comment the
# following db target and uncomment the one that follows.
#
############################################################################
db:
.PHONY: db
# USR_DBFLAGS += -I . -I ..
# USR_DBFLAGS += -I $(EPICS_BASE)/db
# USR_DBFLAGS += -I $(APPDB)
#
# SUBS=$(wildcard $(APPDB)/*.substitutions)
# TMPS=$(wildcard $(APPDB)/*.template)
#
# db: $(SUBS) $(TMPS)
#
# $(SUBS):
# @printf "Inflating database ... %44s >>> %40s \n" "$@" "$(basename $(@)).db"
# @rm -f $(basename $(@)).db.d $(basename $(@)).db
# @$(MSI) -D $(USR_DBFLAGS) -o $(basename $(@)).db -S $@ > $(basename $(@)).db.d
# @$(MSI) $(USR_DBFLAGS) -o $(basename $(@)).db -S $@
#
# $(TMPS):
# @printf "Inflating database ... %44s >>> %40s \n" "$@" "$(basename $(@)).db"
# @rm -f $(basename $(@)).db.d $(basename $(@)).db
# @$(MSI) -D $(USR_DBFLAGS) -o $(basename $(@)).db $@ > $(basename $(@)).db.d
# @$(MSI) $(USR_DBFLAGS) -o $(basename $(@)).db $@
#
#
# .PHONY: db $(SUBS) $(TMPS)
vlibs:
.PHONY: vlibs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment