buildingtools

package
v0.0.0-...-7caaa2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterAutotoolsConfigOptions

func FilterAutotoolsConfigOptions(
	args []string,
	exact []string,
	prefixes []string,
) ([]string, error)

Types

type Autotools

type Autotools struct{}

func (Autotools) Configure

func (self Autotools) Configure(
	args []string,
	env []string,
	env_mode EnvironmentOperationMode,
	configure_filename string,
	configure_dirpath string,
	working_dirpath string,

	run_relative bool,

	run_as_argument_to_shell bool,
	shell_program string,
	log *logger.Logger,
) error

func (Autotools) Extract

func (self Autotools) Extract(
	filename string,
	outputdir string,
	tempdir string,
	unwrap bool,
	is_more_than_one_extracted_ok bool,
	cleanup_outputdir bool,
	log *logger.Logger,
) error

func (Autotools) Make

func (self Autotools) Make(
	args []string,
	env []string,
	env_mode EnvironmentOperationMode,
	makefile_filename string,
	makefile_dirpath string,
	working_dirpath string,
	make_program string,
	log *logger.Logger,
) error

env - additional environment variables

env_mode - use empty variables or copy of variables passed to aipsetup5

makefile_filename - based automatically. name of Makefile. usually "Makefile"

makefile_dirpath - absoluted automatically. directory in which named makefile

contained

working_dirpath - absoluted automatically. working dir which shold be current

for startend make utility

type CMake

type CMake struct{}

func (CMake) CMake

func (self CMake) CMake(
	args []string,
	env []string,
	env_mode EnvironmentOperationMode,
	cmakelist_filename string,
	cmakelist_dirpath string,
	working_dirpath string,
	cmake_program string,
	log *logger.Logger,
) error

type EnvironmentOperationMode

type EnvironmentOperationMode uint
const (
	Copy EnvironmentOperationMode = iota
	Clean
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL